Skip to content

Conversation

@rnd-ash
Copy link
Contributor

@rnd-ash rnd-ash commented Sep 8, 2025

Fixes #264

It seems that the rejection was not handled on WASM platforms, causing the dialog to never return a value if the user pressed on the cancel button.

This PR fixes this by handling the reject promise correctly

@rnd-ash rnd-ash changed the title Handle dialog reject (Cancel) on wasm (Fixes #264) Handle dialog reject (Cancel) on wasm Sep 8, 2025
vlansco pushed a commit to vlansco/rfd that referenced this pull request Sep 14, 2025
Copy link
Owner

@PolyMeilex PolyMeilex left a comment

Choose a reason for hiding this comment

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

Thanks!

@PolyMeilex PolyMeilex merged commit 3071fc5 into PolyMeilex:master Sep 17, 2025
12 of 13 checks passed
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.

Cancel button on save dialog on web does nothing

2 participants