Skip to content
Discussion options

You must be logged in to vote

I can't be sure about the cause of problem unless you provide a sample repo so I can run your code...
But I think the problem here is the id="my-modal". In your component, all modals have the same my-modal IDs following by the same <label for="my-modal">. Each modal should have a unique ID and the following label to point to the same ID.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by saadeghi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants