Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

Fix FF and IE tabbing/blur issues. - #1353

Merged
joallard merged 1 commit into
selectize:masterfrom
topaxi:fix-ff-focus
Mar 28, 2018
Merged

joallard merged 1 commit into
selectize:masterfrom
topaxi:fix-ff-focus

Conversation

@topaxi

@topaxi topaxi commented Dec 18, 2017

Copy link
Copy Markdown
Contributor

Fixes #1164

Comment thread src/selectize.js
// 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
Copy Markdown
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
Copy Markdown
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

@ChurnM4c

Copy link
Copy Markdown

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

Cheers

@joallard

Copy link
Copy Markdown
Member

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

@denisfl

denisfl commented Feb 8, 2018

Copy link
Copy Markdown

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

nickolay commented May 6, 2018

Copy link
Copy Markdown

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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants