-
Notifications
You must be signed in to change notification settings - Fork 930
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
Adds composePreventableEvent #1880
base: main
Are you sure you want to change the base?
Adds composePreventableEvent #1880
Conversation
@CrutchTheClutch I'm sorry no one got back to you on this. Are you still interested in seeing this one across the finish line? If so we'd need to resolve conflicts. Totally understand if not, just let me know and I'll put this on my todo list. |
@chaance For sure! No worries at all, I should be able to take a look at this again early next week |
2f9e21c
to
cff0617
Compare
@chaance I believe this gets us back up to date with the current changes. I also went ahead and updated Form and Menubar since they were not components when I originally made this pull request. I'm a little unfamiliar with the codebase as it's been a while since I last looked at this, but the changes should be good to go now. I have also gone ahead and confirmed I can build locally |
Description
I noticed #905 and I had a similar need for a utility like this.
checkForDefaultPrevented
api by splittingcomposeEventHandlers
into two separate functions (composeEventHandlers
&composePreventableEventHandlers
).composeEventHandlers
with the newcomposePreventableEventHandlers
.checkForDefaultPrevented
was false with the reworkedcomposeEventHandlers
function.closes #905