File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change
1
+ declined :
2
+ - primitives
3
+ - " @radix-ui/react-menu"
Original file line number Diff line number Diff line change @@ -672,7 +672,8 @@ const MenuItem = React.forwardRef((props, forwardedRef) => {
672
672
} }
673
673
onPointerUp = { composeEventHandlers ( props . onPointerUp , ( event ) => {
674
674
// Pointer down can move to a different menu item which should activate it on pointer up.
675
- // We dispatch a click for selection to allow composition with click based triggers.
675
+ // We dispatch a click for selection to allow composition with click based triggers and to
676
+ // prevent Firefox from getting stuck in text selection mode when the menu closes.
676
677
if ( ! isPointerDownRef . current ) event . currentTarget ?. click ( ) ;
677
678
} ) }
678
679
onKeyDown = { composeEventHandlers ( props . onKeyDown , ( event ) => {
You can’t perform that action at this time.
0 commit comments