Topic: MDBModal aria-hidden always true
Expected behavior aria-hidden should change to false when modal is open. Noticed it happened on 4.26.0 so updated to 4.26.1 as well.
Actual behavior aria-hidden is always true
Resources (screenshots, code snippets etc.) Tried with and without react portal. Tested with example code as well just to make sure it wasn't something with my modal code.
<MDBModal isOpen={isOpen} toggle={() => toggleModal('myModal')} size="lg" backdrop={backdrop} centered>
<MDBModalHeader toggle={() => toggleModal('myModal')} >My Modal</MDBModalHeader>
<MDBModalBody>
<MDBRow>
<MDBCol size={"12"}>
<p>Hello world</p>
</MDBCol>
</MDBRow>
</MDBModalBody>
<MDBModalFooter>
<MDBBtn color="cancel" onClick={() => toggleModal('myModal')}>Cancel</MDBBtn>
</MDBModalFooter>
Open
- User: Pro
- Premium support: No
- Technology: React
- MDB Version: 4.26.1
- Device: Desktop
- Browser: Chrome / Firefox
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented 10 months ago
thanks for the report, we will change it.