Select on Focus
Opened this issue · 1 comments
base2arthur commented
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 commented
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