Skip to content

Conversation

slavakisel
Copy link
Contributor

@slavakisel slavakisel commented May 14, 2018

Fixes #74

node.setSelectionRange caused focus jump in Safari and mobile browsers. The solution is to set selection only if the input is in the active (focused) state to not interfere with other inputs.

@stabback
Copy link

@jsillitoe Any chance this could be merged in this week?

@paulocesarpcfj
Copy link

Any news on it? :) It will help me to solve a bug on IE11

@jsillitoe jsillitoe merged commit 5caeccd into jsillitoe:master Aug 28, 2018
@jsillitoe
Copy link
Owner

Merged.

@n3tfr33
Copy link

n3tfr33 commented Sep 13, 2019

@jsillitoe Please, could you publish this fix to NPM?

@jamesbw
Copy link

jamesbw commented Sep 23, 2019

@jsillitoe Please, could you publish this fix to NPM?

Yes, that would be much appreciated @jsillitoe !

@csshater1221
Copy link

Is this published to NPM yet?

@peisenmann
Copy link

peisenmann commented Mar 30, 2021

Still experiencing this as an issue in IE11, so I think it's still not published to NPM. Workaround for anyone else waiting for that: #90 (comment)

@ericblade
Copy link

Lots of people have un-done this change in forks...

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

Successfully merging this pull request may close these issues.

Focus in Safari

10 participants