File tree Expand file tree Collapse file tree
packages/react-dom-bindings/src/events/plugins Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,6 +72,8 @@ function extractEvents(
7272 // Firefox creates a keypress event for function keys too. This removes
7373 // the unwanted keypress events. Enter is however both printable and
7474 // 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.
7577 if ( getEventCharCode ( ( ( nativeEvent : any ) : KeyboardEvent ) ) === 0 ) {
7678 return ;
7779 }
@@ -95,6 +97,8 @@ function extractEvents(
9597 case 'click' :
9698 // Firefox creates a click event on right mouse clicks. This removes the
9799 // unwanted click events.
100+ // TODO: Fixed in https://phabricator.services.mozilla.com/D26793. Can
101+ // probably remove.
98102 if ( nativeEvent . button === 2 ) {
99103 return ;
100104 }
You can’t perform that action at this time.
0 commit comments