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(Modal): selectorPrimaryFocus will work,regardless of focusTrap Value #4162

Conversation

ankitious
Copy link
Contributor

Closes #

Modal: selectorPrimaryFocus doesn't work, when used together with focusTrap #4088

Changelog

Changed

  • Added condition to check if selectorPrimaryFocus is present then it should take priority over to focusTrap as mentioned in the issue.

@ankitious ankitious requested a review from a team as a code owner October 2, 2019 05:44
@ghost ghost requested review from aledavila and asudoh October 2, 2019 05:44
@netlify
Copy link

netlify bot commented Oct 2, 2019

Deploy preview for carbon-elements ready!

Built with commit 9f8e3e7

https://deploy-preview-4162--carbon-elements.netlify.com

@netlify
Copy link

netlify bot commented Oct 2, 2019

Deploy preview for carbon-components-react ready!

Built with commit 9f8e3e7

https://deploy-preview-4162--carbon-components-react.netlify.com

@netlify
Copy link

netlify bot commented Oct 2, 2019

Deploy preview for the-carbon-components failed.

Built with commit 9f8e3e7

https://app.netlify.com/sites/the-carbon-components/deploys/5d94392c773fd800082b6599

@ankitious ankitious closed this Oct 2, 2019
@ankitious ankitious deleted the 4088-fix-Modal-selectorPrimaryFocus-does-not-work-when-used-together-with-focusTrap branch October 2, 2019 08:49
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.

1 participant