Pressing a key should exit the WebView from pan scrolling mode. This matches what IE and Opera do. We currently exit the WebView on escape, matching Firefox, but this could be hard to discover for users who may have middle clicked on accident. <rdar://6591806>
Created attachment 34100 [details] Any Key Press
Comment on attachment 34100 [details] Any Key Press What do other browsers that support pan scrolling do?
IE, Opera -> Exit pan scrolling on any keypress. Firefox -> Exit only on escape Safari, Chrome -> Exit only on escape - for now. From the radar (Steve): This is kind of nasty, since if a user accidently middle clicks on a webpage, they can't type until they left click or hit escape.
Do IE and Opera also both cancel the pan scroll on keydown (instead of keyup)?
Yes, and Firefox cancels on escape down.
Clearing review flag - landed in http://trac.webkit.org/changeset/46793