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-open class remains on body after modal closed #437

Merged
merged 1 commit into from Jun 22, 2020

Conversation

gidomanders
Copy link
Member

The modal-open class remains on the body tag even after the modal is
closed. This is an issue of the reactstrap library
(reactstrap/reactstrap#1323) which is already
fixed buy not released yet.

Added a temporary work-around to remove the modal-open class when modal
is closed.

Closes #426

@42bot
Copy link

42bot commented Jun 22, 2020

Messages
📖 👍 Jest tests passed: 572/572 (0 skipped)

Generated by 🚫 dangerJS against e6a7e2d

@gidomanders gidomanders force-pushed the fix/modal-not-closing-properly branch from d91cb52 to 4ebfe2e Compare June 22, 2020 13:57
@codecov
Copy link

codecov bot commented Jun 22, 2020

Codecov Report

Merging #437 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #437   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           99        99           
  Lines         2031      2035    +4     
  Branches       468       468           
=========================================
+ Hits          2031      2035    +4     
Impacted Files Coverage Δ
src/core/OpenCloseModal/OpenCloseModal.tsx 100.00% <100.00%> (ø)
src/form/ModalPicker/ModalPicker.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ff41948...e6a7e2d. Read the comment docs.

The modal-open class remains on the body tag even after the modal is
closed. This is an issue of the reactstrap library
(reactstrap/reactstrap#1323) which is already
fixed buy not released yet.

Added a temporary work-around to remove the modal-open class when modal
is closed.

Closes #426
@gidomanders gidomanders force-pushed the fix/modal-not-closing-properly branch from 4ebfe2e to e6a7e2d Compare June 22, 2020 14:04
@gidomanders gidomanders merged commit e6a7e2d into master Jun 22, 2020
@MrHus MrHus deleted the fix/modal-not-closing-properly branch November 25, 2020 08:56
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.

Modal not closing properly
3 participants