Commit 88c47c2
authored
fix(dev-overlay): Ignore right clicks on the indicator draggable (#79120)
Without this change, right clicking on the indicator starts the drag action, which leads to janky behavior with the native browser context menu.
Only allow dragging with the primary mouse button.
I also tested this in the mobile simulator mode to make sure I didn't break anything there.1 parent 6258af6 commit 88c47c2
File tree
1 file changed
+3
-0
lines changed- packages/next/src/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
189 | 192 | | |
190 | 193 | | |
191 | 194 | | |
| |||
0 commit comments