We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 213a9c7 commit a5d8f59Copy full SHA for a5d8f59
src/ValueNodes.tsx
@@ -95,7 +95,7 @@ export const NumberValue: React.FC<InputProps & { value: number }> = ({
95
value={value}
96
onChange={(e) => setValue(validateNumber(e.target.value))}
97
autoFocus
98
- onFocus={(e) => e.target.select()}
+ onFocus={(e) => setTimeout(() => e.target.select(), 10)}
99
onKeyDown={(e) =>
100
handleKeyboard(e, {
101
numberConfirm: handleEdit,
0 commit comments