Safari bug with preventDefault() from onmousewheel and history navigation
| Originator: | evan.exe | ||
| Number: | rdar://13871099 | Date Originated: | 12-May-2013 12:34 PM |
| Status: | Open | Resolved: | |
| Product: | Safari | Product Version: | Version 6.0.4 (8536.29.13, 537+) |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: Calling preventDefault() from onmousewheel does not disable two-finger back/forward history navigation. Steps to Reproduce: 1. Open up Safari on a MacBook with OS X Lion 2. Set "Swipe between pages" to "Scroll left or right with two fingers" under System Preferences > Trackpad > Scroll & Zoom (the default for new installs) 3. Visit http://jsfiddle.net/Qs3JJ/ and scroll around horizontally using two fingers on the trackpad Expected Results: Calling preventDefault() from onmousewheel should prevent the default action of back/forward navigation. Actual Results: Scrolling around works for a bit, but then the back/forward horizontal navigation transition is triggered. This happens more often when scrolling slowly. Notes: Chrome also has this issue but I'm fixing it. Issue: https://code.google.com/p/chromium/issues/detail?id=239731 Fix: https://codereview.chromium.org/14795004/
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!