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(devtools): enhance Select component UX in user preferences
The clickable area was limited to the text of the selected option, not the entire visible button area. This made the component feel unresponsive.
I was unable to directly stretch the select element to expand its clickable area, and so added a span.
Initially, an unintended side effect of the change caused the button's width to change dynamically with the selection, losing the stable width behavior of the original select element.
To restore this, a hidden `<span>` sets a consistent width based on the longest option.
Copy file name to clipboardExpand all lines: packages/next/src/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-info/user-preferences.tsx
0 commit comments