-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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): fix typo in className #2004
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2004 +/- ##
======================================
Coverage 99.8% 99.8%
======================================
Files 148 148
Lines 2561 2561
======================================
Hits 2556 2556
Misses 5 5
Continue to review full report at Codecov.
|
Looking into why our tests for this were passing :) |
We were missing quite a bit of coverage on adding/removing classes. I've updated tests and added missing coverage. Oddly enough, fixing these tests somehow fails the Sticky tests? I may not have time today to figure out why today. |
…React into fix/modal-scrolling
I'm almost sure that problem is with |
Yep, working on fix. |
Heh, oh boy... Thanks! |
Released in |
* fix(Modal): fix typo in className * test(Modal): add missing body class coverage * test(Modal): restore window.innerHeight after tests
We have the awesome codepen in #1979. It show that
scrolling
className isn't removed frombody
afterPortal
's unmount. In fact, there was a typo and this PR fixes it.Fixes #1979.