Title: [246795] trunk/Source/WebKit
- Revision
- 246795
- Author
- [email protected]
- Date
- 2019-06-25 10:29:53 -0700 (Tue, 25 Jun 2019)
Log Message
When Caps Lock is enabled on the Smart Keyboard, can't scroll with space or arrow keys
https://bugs.webkit.org/show_bug.cgi?id=199187
<rdar://problem/51521709>
Reviewed by Anders Carlsson.
* UIProcess/ios/WKKeyboardScrollingAnimator.mm:
(-[WKKeyboardScrollingAnimator keyboardScrollForEvent:]):
When deciding whether a key event should start a scroll, ignore all
modifiers other than the ones we actually care about (including Caps Lock).
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (246794 => 246795)
--- trunk/Source/WebKit/ChangeLog 2019-06-25 17:00:50 UTC (rev 246794)
+++ trunk/Source/WebKit/ChangeLog 2019-06-25 17:29:53 UTC (rev 246795)
@@ -1,3 +1,16 @@
+2019-06-25 Tim Horton <[email protected]>
+
+ When Caps Lock is enabled on the Smart Keyboard, can't scroll with space or arrow keys
+ https://bugs.webkit.org/show_bug.cgi?id=199187
+ <rdar://problem/51521709>
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/ios/WKKeyboardScrollingAnimator.mm:
+ (-[WKKeyboardScrollingAnimator keyboardScrollForEvent:]):
+ When deciding whether a key event should start a scroll, ignore all
+ modifiers other than the ones we actually care about (including Caps Lock).
+
2019-06-25 Michael Catanzaro <[email protected]>
Fully rename WebKitGTK+ -> WebKitGTK everywhere
Modified: trunk/Source/WebKit/UIProcess/ios/WKKeyboardScrollingAnimator.mm (246794 => 246795)
--- trunk/Source/WebKit/UIProcess/ios/WKKeyboardScrollingAnimator.mm 2019-06-25 17:00:50 UTC (rev 246794)
+++ trunk/Source/WebKit/UIProcess/ios/WKKeyboardScrollingAnimator.mm 2019-06-25 17:29:53 UTC (rev 246795)
@@ -243,7 +243,8 @@
};
}();
- if (event.modifierFlags & ~allowedModifiers)
+ auto relevantModifierFlags = WebEventFlagMaskOptionKey | WebEventFlagMaskCommandKey | WebEventFlagMaskShiftKey;
+ if (event.modifierFlags & relevantModifierFlags & ~allowedModifiers)
return WTF::nullopt;
auto increment = ^{
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes