Skip to content

Conversation

@ClementNumericite
Copy link
Contributor

@ClementNumericite ClementNumericite commented Mar 16, 2023

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.

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>
@ClementNumericite ClementNumericite changed the title fix: modal title dynamic id Fix duplicated IDs issue while using multiple modals in a single page Mar 16, 2023
Copy link
Collaborator

@garronej garronej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

ClementNumericite and others added 3 commits March 16, 2023 18:03
Co-authored-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
Signed-off-by: Clément Lelong <clement@numericite.eu>
Co-authored-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
Signed-off-by: Clément Lelong <clement@numericite.eu>
Co-authored-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
Signed-off-by: Clément Lelong <clement@numericite.eu>
@ClementNumericite ClementNumericite requested review from garronej and removed request for garronej March 16, 2023 17:05
Signed-off-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
@garronej garronej merged commit 2270ab1 into codegouvfr:main Mar 16, 2023
sbourdon13 pushed a commit to sbourdon13/react-dsfr that referenced this pull request Aug 11, 2023
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.

2 participants