You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: packages/next/src/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/draggable.tsx
+3
Original file line number
Diff line number
Diff line change
@@ -186,6 +186,9 @@ export function useDrag(options: UseDragOptions) {
0 commit comments