Is it possible to add margin to the scroll that happens when you type.
In HTML when you type something, browser scrolls you to the place you are typing to if its not in the screen.
How do I add margin to that scroll?
It scrolls to the place you are typing at, not to do element you are typing to.
So for example if you have a
textarea
bigger than the screen height it will still scroll to the place that you are typing the text to.
I tried scroll-margin
but didn't work.
I have a textarea
that can go bigger than the screen height0 Replies