woltapp/wolt_modal_sheet

Prevent duplicate bottom sheet entry

Closed this issue · 1 comments

Hi,
I liked to prevent wolt_modal_sheet not to open if there is another wolt modal sheet opened or the screen which requested the bottom sheet just destroyed/exited from navigation. Is there currently any feature for this?

@ribuemsyne this should be done in state management level. I am working on a comprehensive demo app. You can do the following:

Check if it is modal sheet route.

Please let me know if this helps.