Repository navigation
Commit cdfeb07
Cmd+D often fails to open the React Native Dev Menu bottom sheet (#58946)
Summary:
Pull Request resolved: #58946
`RCTKeyCommands` ignored all registered key commands whenever any window had an active first responder (e.g. a focused `TextInput`), so Cmd+D intermittently failed to open the Dev Menu in the iOS Simulator / Mac Catalyst.
Only unmodified key commands are now suppressed while a responder is active, so plain typing is still not intercepted while modifier shortcuts (Cmd+D, Cmd+R) fire reliably.
Changelog:
[iOS][Fixed] - Fix Cmd+D and other modifier key commands failing to open the Dev Menu when a view is the first responder
Differential Revision: D1140420421 parent 8d658f4 commit cdfeb07
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
142 | 147 | | |
143 | 148 | | |
144 | 149 | | |
| |||
0 commit comments