I am trying to find which function causes the page to scroll when an element hangs, but so far has not received anything.
A special listener was not added to the element, from which I could understand that it is launched through a listener mouseoveror similar, the elements contain many listeners connected to them.
It is also not a browser function, it is specific to javascript because it does not occur when I null most of the code.
I have already tried nullusing scroll methods, which I know like this:
[
'scroll',
'scrollTo',
'scrollBy',
'scrollByLines',
'scrollByPages',
'scrollX',
'scrollY',
'scrollMaxX',
'scrollMaxY',
'scrollHeight',
'scrollIntoView',
'scrollTop',
'scrollTopMax'
].forEach(function(a) {
window[a] = null;
document.documentElement[a] = null;
})
Hoping that when the mysterious function tried to call the scroll method, it would throw an error, but instead, it still scrolls normally without any problems.
, .
- , scroll 266 , , .
, ?