Commit b7280f7
committed
[FIX] GenericInput: skip focus manipulation
When providing the props `selectContentOnFocus`, we manipulate the
default behaviour of the browser (mouseDown/mouseUp) to select the full
content of the input. However, half of this manipulation (prevent mouseDown
default) still occured even if the props `selectContentOnFocus` was
set to false.
Unfortunately, this cannot be properly tested as the update of the
selected range on mouseDown does not seem programatically reproductible.
closes #7383
Task: 5206980
Signed-off-by: Lucas Lefèvre (lul) <[email protected]>1 parent 62b85c8 commit b7280f7
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
0 commit comments