scroll() and scrollTo() will erroneously animate into position (smooth scroll?) when a variety of keys are held, even if keys are prevented
https://bugs.webkit.org/show_bug.cgi?id=53702
Summary scroll() and scrollTo() will erroneously animate into position (smooth scroll...
Anthony Mann
Reported 2011-02-03 12:04:09 PST
scroll() and scrollTo() will animate into position instead of jumping when a directional key is held (other keys behave similarly), even if the key event is prevented. see the demo here: http://jsfiddle.net/MrNibbles/BpBnp/ This has caused a damn near nightmare for my current project! evident in Safari Version 5.0.3 (6533.19.4) && Webkit Version 5.0.3 (6533.19.4, r77034)
Attachments
Alexey Proskuryakov
Comment 1 2011-02-03 15:31:33 PST
Confirmed with r77306, not a regression from Safari 5. One needs to have smooth scrolling enabled in system preferences to see this. I could see an argument for scrolling being always smooth, but not for it being smooth only when a key is pressed.
Note You need to log in before you can comment on or make changes to this bug.