assisrafael / react-bootstrap-utils

React bootstrap library
MIT License
6 stars 6 forks source link

Losing scroll navigation after closing modal with a button #10

Closed samuelpietra closed 4 years ago

samuelpietra commented 4 years ago

With an opened \

, if one tries to close it with some button like:

footer={({ close }) => (
          <button type="button" onClick={close}>
            Close
          </button>
        )}

The \ persists even after this event, therefore disabling scroll navigation

assisrafael commented 4 years ago

Fixed by 341dec3