DavidVollmers / Ignis

The Blazor framework for building modern web applications.
https://ignis.dvolper.dev
MIT License
151 stars 9 forks source link

Make closing dialog when clicking next to it optional #58

Closed NathanVG closed 2 months ago

NathanVG commented 2 months ago

While in a lot of cases the behavior of closing a dropdown menu or a dialog when clicking next to it is desirable, in other cases, where you require a user to select something this behavior is not ideal.

I would like to propose adding a flag to the dialog component so this behavior can be disabled at will , like the IgnoreOutlet flag.

DavidVollmers commented 2 months ago

Hey, you can already do this as described in here: https://github.com/DavidVollmers/Ignis/issues/42#issuecomment-1855654739

NathanVG commented 2 months ago

Ah great, maybe this should be mentioned in the docs :)

DavidVollmers commented 2 months ago

Unfortunately there is a lot which currently isn't mentioned in the docs, but yes I agree!