Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select on Focus #11

Open
base2arthur opened this issue Dec 29, 2020 · 1 comment
Open

Select on Focus #11

base2arthur opened this issue Dec 29, 2020 · 1 comment

Comments

@base2arthur
Copy link

It would be good to have a select on focus as the inputEl is not exposed.
function handleFocus(e) { canSetSelection = true; if(selectOnFocus){ inputEl && typeof inputEl.select === 'function' && inputEl.select() } dispatch('focus', e); }

@xnimorz
Copy link
Owner

xnimorz commented Apr 10, 2021

Hi! Sorry for the long response, I'm not sure how it happened, that I didn't receive a notification to my bot.
Yes, sure, it's a good idea. You're welcome to send a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants