Skip to content

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

Merged
SilverFire merged 1 commit intoyiisoft:masterfrom
GeorgeGardiner:master
Nov 19, 2015
Merged

Only blur the focused element if it is inside Pjax container#25
SilverFire merged 1 commit intoyiisoft:masterfrom
GeorgeGardiner:master

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.

4 participants