-
Notifications
You must be signed in to change notification settings - Fork 813
[fixed] keep references of modals when available. #326
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
Conversation
* Add linting * Make specs pass linter * Make lib/helpers pass linter * Make lib/components pass linter This also does some signfiicant refactoring of the code to appease the linter's pro-ES2015+ stance. closes reactjs#289 closes reactjs#286 * Make travis run the lint task as well as specs closes reactjs#284
* [fixed] Make use of es6 modules * [fixed] Fix `this` scope
* Add sauce labs testing info to karma This also removes Node versions 4, 5, 6 from Travis. The node version only matters for development not for use. I don't think it's a problem officially supporting only the latest node for development. * Make specs work under IE 11
this PR allow a stack of modals to give back focus to parent modal.
keeping a reference of all modals in order to manage when to add/remove classes and aria from elements correctly.
55fac94
to
09880af
Compare
Hi @diasbruno, I've taken your tests from this PR and proposed an alternative solution here: #328 Please let me know if you have any questions or if I'm missing a case we should be testing for 😸 |
@ajfuller awesome. I'll check it. |
@diasbruno thanks for the heads up on this. Any idea when this update might land? |
can you resolve the branch conflict and submit this? |
@ChenRoth this needs to be ported to |
@diasbruno this hasn't been released yet has it? |
@boonier I'll try to write the backport to |
keeping a reference of all modals in order to manage
when to add/remove classes and aria from elements
correctly.
solution based on @MarkMurphy's idea #308, but it uses a simple list
to work on IE (don't really support
Set
).Fixes #218 #231 #308.
Acceptance Checklist:
CONTRIBUTING.md
.