Skip to content

feat(unity-react-core): modal backdrop close update and custom button… - #1775

Open
spaceperson wants to merge 5 commits into
devfrom
uds04-2211
Open

feat(unity-react-core): modal backdrop close update and custom button…#1775
spaceperson wants to merge 5 commits into
devfrom
uds04-2211

Conversation

@spaceperson

Copy link
Copy Markdown
Contributor

…, state, and children props

Description

Checklist

  • Tests pass for relevant code changes

Important Reminders

Links

@spaceperson
spaceperson requested a review from a team as a code owner August 21, 2026 18:33
@asu-jenkins-devops

Copy link
Copy Markdown
Collaborator

@davidornelas11 davidornelas11 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One finding and then this will be good to go. initModals() runs as part of the shared Unity Bootstrap bundle, but this dereferences modal before verifying that modal markup exists. Pages that include the theme without a modal will throw during initialization. return early when the modal, backdrop, or trigger is absent before querying elements or registering listeners.

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.

3 participants