File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/react-dom-bindings/src/events/plugins Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,8 @@ function extractEvents(
72
72
// Firefox creates a keypress event for function keys too. This removes
73
73
// the unwanted keypress events. Enter is however both printable and
74
74
// non-printable. One would expect Tab to be as well (but it isn't).
75
+ // TODO: Fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=968056. Can
76
+ // probably remove.
75
77
if ( getEventCharCode ( ( ( nativeEvent : any ) : KeyboardEvent ) ) === 0 ) {
76
78
return ;
77
79
}
@@ -95,6 +97,8 @@ function extractEvents(
95
97
case 'click' :
96
98
// Firefox creates a click event on right mouse clicks. This removes the
97
99
// unwanted click events.
100
+ // TODO: Fixed in https://phabricator.services.mozilla.com/D26793. Can
101
+ // probably remove.
98
102
if ( nativeEvent . button === 2 ) {
99
103
return ;
100
104
}
You can’t perform that action at this time.
0 commit comments