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

Only blur the focused element if it is inside Pjax container #25

Merged
merged 1 commit into from Nov 19, 2015

Conversation

GeorgeGardiner
Copy link

Fix for an issue that has come up on the forums a few times. If you're using Pjax to refresh some results (eg. live search) then element focus is lost.

yiisoft/yii2#4677

Only blur the focus if the focused element is within the container.
@SilverFire
Copy link
Member

I think we can accept it, it's reasonable

@SilverFire SilverFire self-assigned this Nov 19, 2015
@SilverFire SilverFire merged commit f7df3d0 into yiisoft:master Nov 19, 2015
@SilverFire
Copy link
Member

Thank you!

@samdark samdark added this to the 2.0.6 milestone Nov 19, 2015
@temirfe
Copy link

temirfe commented Mar 15, 2016

upgraded to 2.0.6, still not working

@SilverFire
Copy link
Member

@temirfe create new issue with problem description, please

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

Successfully merging this pull request may close these issues.

None yet

4 participants