It's normal to use <kbd>Home</kbd>/<kbd>End</kbd> to move cursor to beginning/end of line when typing.

But, recently this two key on my Chrome/Safari will trigger browser scrolling top/bottom when typing in input field/text area.

It will scroll first, and if I press <kbd>Home</kbd>/<kbd>End</kbd> again it will trigger the "move cursor"

How to fix this?