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

Fix Grid Layout Instructions #548

Merged
merged 1 commit into from
Nov 29, 2017
Merged

Conversation

gerardkcohen
Copy link
Contributor

Fix #531 issue with NUX instructions not closing as expected with IE11.

A loop was created on focus, where the instructions where displayed and then dismissing the instructions set focus to the element that displayed the instructions on focus. This happened because the once option was used for the event listener, which is not supported in IE11.

Created an event listener that, when fired, removed the event listener and setup the instructions and close listeners/ handlers.

Tested with IE11 on Win7 and Win8, as well as Chrome/ Safari/ Firefox on Safari.

@mcking65
Copy link
Contributor

@gerardkcohen , looks great! Many thanks! And, thank you for the comment explaining the problem.

@mcking65 mcking65 merged commit a1de1af into w3c:master Nov 29, 2017
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.

Layout Grid Examples: Keyboard Tutorial NUX does not close when using IE 11.
2 participants