Skip to content

Fix FF and IE tabbing/blur issues. #1353

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

Merged
merged 1 commit into from
Mar 28, 2018
Merged

Conversation

topaxi
Copy link
Contributor

@topaxi topaxi commented Dec 18, 2017

Fixes #1164

// Do not trigger blur while inside a blur event,
// this fixes some weird tabbing behavior in FF and IE.
// See #1164
if (self.ignoreFocus) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've used ignoreFocus as it's set in the onBlur method, maybe I should use a different, new, boolean flag?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not actively developing the project, I'll have to take your word for it

@claudiobmgrtnr
Copy link

Will these changes be available soon? We could use them too in our current project.

Cheers

@joallard
Copy link
Member

If you could both validate whether the fix is suitable and ready, I'd merge.

@denisfl
Copy link

denisfl commented Feb 8, 2018

It's seems that this fix is OK. Let's merge :) 🚀

@joallard joallard merged commit a188359 into selectize:master Mar 28, 2018
@topaxi topaxi deleted the fix-ff-focus branch April 2, 2018 19:51
@nickolay
Copy link

nickolay commented May 6, 2018

This broke the should close and blur dropdown after selection made if closeAfterSelect: true and in single mode test added in #1127 (the PR that introduced the regression being fixed here). Anyone knows what's up with it or should it just be skipped for now?

joallard added a commit that referenced this pull request May 25, 2018
Fixes failing test after regression in #1353, while
trying to preserve its functionality.
@joallard
Copy link
Member

@topaxi I've changed the way this operates in 8c76832 while keeping another test case green. As there is no test for this issue, it will be easy to break. Are you able to confirm at least that the issue has stayed fixed?

michael-maltsev pushed a commit to michael-maltsev/selectize.js that referenced this pull request Aug 28, 2018
Fix FF and IE tabbing/blur issues.
michael-maltsev pushed a commit to michael-maltsev/selectize.js that referenced this pull request Aug 28, 2018
Fixes failing test after regression in selectize#1353, while
trying to preserve its functionality.
anandphulwani pushed a commit to anandphulwani/selectize.js that referenced this pull request Jan 17, 2021
Rectified selectize#1164 issue considered previously fixed, done with the pull
selectize#1353 and
pushed commit
michael-maltsev@f6e9faa
risadams pushed a commit that referenced this pull request Jan 17, 2021
Rectified #1164 issue considered previously fixed, done with the pull
#1353 and
pushed commit
michael-maltsev@f6e9faa
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.

5 participants