Html - scroll scan by itself
I am experiencing this weird problem my scrollbar is jumping on its own to where I don't want it.
I have a table with a scrollbar inside this page, if the user has a smaller screen, the page will automatically add a scrollbar. If I scroll down to the bottom of the table and click on it, the page scroll bar jumps up, so I can no longer see what I clicked. Any ideas?
Thank.
source to share
There are several things that could be causing this.
- You clicked on a hyperlink with an href from "#" which will make most browsers scroll to the top of the page,
- It is possible that a CSS rule is being triggered somewhere
:focus
or:active
that causes the page height to change - This is where the javascript onclick fails and the page changes.
- ... or perhaps something else.
Have you tried in different browsers? This could be a bug in the browser itself.
My scrollbar jumps when I press the Page or Down button. Also, my trackpad with a laptop might cause odd mouse behavior if I give up my thumb against it.
And when I poured a large latte into my keyboard, then I had problems. But then the whole computer stopped working after about an hour.
source to share