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
Mostly because it feels like more intuitive behavior for end users? It's a quick change - after this line: https://github.com/mdbassit/Coloris/blob/main/src/coloris.js#L318 add colorValue.setSelectionRange(currentEl.selectionStart, currentEl.selectionEnd, currentEl.selectionDirection);. if the picker is configured with selectInput: true that still properly supersedes this and selects the entire input field.
The text was updated successfully, but these errors were encountered:
Yeah, basically by default, if you click into the original field and highlight, when you release the mouse button, you end up in the picker's input field with your highlight suddenly gone, which would be frustrating if you were trying to copy or paste a color from the field.
Mostly because it feels like more intuitive behavior for end users? It's a quick change - after this line: https://github.com/mdbassit/Coloris/blob/main/src/coloris.js#L318 add
colorValue.setSelectionRange(currentEl.selectionStart, currentEl.selectionEnd, currentEl.selectionDirection);
. if the picker is configured withselectInput: true
that still properly supersedes this and selects the entire input field.The text was updated successfully, but these errors were encountered: