You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix duplicated IDs issue while using multiple modals in a single page (#82)
* Fix Modal title hardcoded id
Title: Fix duplicated IDs issue while using multiple modals in a single page
Description: This pull request addresses the issue of duplicated IDs by modifying the code to use the modal ID for creating the H1 ID. This change ensures that the H1 ID remains unique, even when multiple modals are present on the same page.
Signed-off-by: Clément Lelong <clement@numericite.eu>
* Update src/Modal.tsx
Co-authored-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
Signed-off-by: Clément Lelong <clement@numericite.eu>
* Update src/Modal.tsx
Co-authored-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
Signed-off-by: Clément Lelong <clement@numericite.eu>
* Update src/Modal.tsx
Co-authored-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
Signed-off-by: Clément Lelong <clement@numericite.eu>
* Update src/Modal.tsx
Signed-off-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
---------
Signed-off-by: Clément Lelong <clement@numericite.eu>
Signed-off-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
Co-authored-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
0 commit comments