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

Calling blur() triggers recalc style #32

Closed
robdodson opened this issue Oct 19, 2016 · 1 comment
Closed

Calling blur() triggers recalc style #32

robdodson opened this issue Oct 19, 2016 · 1 comment

Comments

@robdodson
Copy link
Collaborator

I think Sam pointed this out during our perf audit as an issue. I'm not sure if we can avoid calling blur, but maybe we can if we have a way to cheaply determine that nothing in the inert subtree is the current activeElement

@alice
Copy link
Member

alice commented Oct 26, 2016

We only call blur() if the active element is in the inert subtree currently.

@alice alice closed this as completed Oct 26, 2016
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

No branches or pull requests

2 participants