-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When the show prop value is true, <ModalBackdrop show={true} />, the component is working as expected showing both the backdrop and children.
When the show prop value is false, <ModalBackdrop show={false} />, the component hides the children content but is still showing the overlay.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
https://codesandbox.io/s/nervous-cohen-tdzb3?file=/src/index.js
What is the expected behavior?
When the show prop is false, no part of the component should be visible or obstructing clicks.
Which versions of MDL, and which browser / OS are affected by this issue? Did this work in previous versions of MDL?
This is an issue in the latest version of MDL, 2.24.1.
I am not sure how far back this issue goes but know that this is also not working in 2.23.0.

