-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(dialog): fixing issue with open, close, cancel events not firing #1474
Conversation
🦋 Changeset detectedLatest commit: 75b0f9c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for red-hat-design-system ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Size Change: -16 B (0%) Total Size: 223 kB
ℹ️ View Unchanged
|
Co-authored-by: Benny Powers - עם ישראל חי! <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Loquacious gentleman triggers memories
In implementing
rh-dialog
in my trials we noticed that we weren't getting back open, close, or cancel events from the dialog. From looking at the issue it appears to be because the observer function changed and needs to call the previous function if the dialog is not a video.Here's a codepen where the dialog does not send the events as expected: https://codepen.io/OhHeyBrian/pen/ExMRwVv
What I did
Testing Instructions
/events
forrh-dialog
that will output the events in the console.Notes to Reviewers