Skip to content
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

action modal not closable #3326

Open
pjmuller opened this issue Oct 10, 2024 · 0 comments
Open

action modal not closable #3326

pjmuller opened this issue Oct 10, 2024 · 0 comments
Assignees

Comments

@pjmuller
Copy link

Feature

We have some very big action forms where we don't the user to accidentally click out of the modal and close it.

Propositions

  • [convention over configuration approach] show a warning when a user clicks outside of the modal, "are you sure you want to exit the action", only on confirm close it
  • add a setting on the action that
class Avo::Actions::Dummy < Avo::BaseAction
  self.standalone = true
  self.close_only_via_button = true
end

Current workarounds

None that Paul and I could think of

Screenshots or screen recordings

https://www.loom.com/share/d9a52b1c2dd942af879ddffa025a7819

@Paul-Bob Paul-Bob self-assigned this Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Do
Development

No branches or pull requests

2 participants