Skip to content

Conversation

@jasonvarga
Copy link
Member

@jasonvarga jasonvarga commented Dec 8, 2025

Continuing from #13202, I noticed some modals didn't work. It complained about the portal target not existing.

Not exactly sure why it works for some modals and not others. Maybe it was standalone modal vs confirmation modals?
e.g. the column customizer was broken but table row actions with confirmation modals were fine.

This PR fixes that by setting the mounted value to true on the next tick.

The visible still needs to be on the next tick so that we get the nice transition. If they were on the same tick, the modal would just immediately pop in.

I also noticed tabs were used in here so I switched to spaces.

@jasonvarga jasonvarga merged commit 4aef69f into master Dec 8, 2025
12 checks passed
@jasonvarga jasonvarga deleted the modal-mount branch December 8, 2025 19:21
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