I'm facing an issue where I am attempting to trigger a modal on each tab item, however the modal only opens on the initial tab. Clicking on any other item results in the modal opening on the first tab instead.
Additionally, when I add new items, I am unable to open a modal. Initializing with tabs = []
is not effective. How can this be resolved?
Take a look at this example.