fix(dgsi): Switch to focus event for selecting
This should fix the issue where iOS devices cannot select the text. Fixes #11
This commit is contained in:
parent
cf1e8abf6d
commit
522e2eb7c7
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ const init = ($node) => {
|
|||
});
|
||||
|
||||
q("[data-select]", ($input) => {
|
||||
$input.addEventListener("click", () => {
|
||||
$input.addEventListener("focus", () => {
|
||||
$input.select();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue