Skip to content

Multiple modals stack #365

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

Open
SAGARSURI opened this issue Feb 8, 2025 · 5 comments
Open

Multiple modals stack #365

SAGARSURI opened this issue Feb 8, 2025 · 5 comments
Labels
bug Something isn't working in triage

Comments

@SAGARSURI
Copy link

Bug report

Hey,
Thank you for this amazing library. I have a scenario where I open multiple modals on top of each other. Now I want the following stack behavior. How can I achieve it with your library?

Image

Steps to reproduce

Steps to reproduce the behavior:

  1. Open multiple modals from one another.
  2. I cannot see how many modals are stacked behind the current visible modal.

Expected behavior

I should be able to see how many modals are stacked behind the current visible modal. I have attached screenshot for the expected behavior.


Additional context

Add any other context about the problem here.


@SAGARSURI SAGARSURI added bug Something isn't working in triage labels Feb 8, 2025
@ulusoyca
Copy link
Contributor

Hi @SAGARSURI This is our of scope. However, the latest stable Flutter release comes with a solution for this.

See the section Cupertino updates
https://pub.dev/packages/wolt_modal_sheet#why-use-modaldecorator-for-state-management

@SAGARSURI
Copy link
Author

Hi @SAGARSURI This is our of scope. However, the latest stable Flutter release comes with a solution for this.

See the section Cupertino updates
https://pub.dev/packages/wolt_modal_sheet#why-use-modaldecorator-for-state-management

Thanks for the link! I didn't find the section Cupertino updates. But do you mean that I should create a custom ModalType for this?

@ulusoyca
Copy link
Contributor

ulusoyca commented Mar 3, 2025

@SAGARSURI No Actually this means that soon we will see first party support from the Flutter team to have this feature. Currently, we are focusing on other improvements for this package.

@ulusoyca
Copy link
Contributor

ulusoyca commented Mar 3, 2025

@SAGARSURI Here is a package you can achieve this: https://pub.dev/packages/modal_bottom_sheet

@SAGARSURI
Copy link
Author

@SAGARSURI Here is a package you can achieve this: https://pub.dev/packages/modal_bottom_sheet

I have seen that but I need the navigation features you provide and amount of customization is really great. So it would be really hard for me to switch to that package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in triage
Projects
None yet
Development

No branches or pull requests

2 participants