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

dialog gets dismissed on second tap if the app is not updated after the first instance #477

Open
sharathguvvala opened this issue Dec 9, 2024 · 0 comments

Comments

@sharathguvvala
Copy link

Hi, I have an issue where I am trying to persist the modal until app is updated. But when clicked on update now -> returned back to app without updating -> and then clicking on update now is closing the modal.

return UpgradeAlert(
              navigatorKey: AppRouter.router.routerDelegate.navigatorKey,
              dialogStyle: UpgradeDialogStyle.cupertino,
              upgrader: Upgrader(),
              child: MediaQuery.withClampedTextScaling(
                minScaleFactor: 1,
                maxScaleFactor: 1,
                child: Overlay(
                  initialEntries: [
                    OverlayEntry(
                      builder: (context) {
                        return child!;
                      },
                    ),
                  ],
                ),
              ),
            );

version
upgrader: 11.2.0

@sharathguvvala sharathguvvala changed the title dialog getting dismissed when tapped second time without updating the app during first instance dialog gets dismissed on second tap if the app is not updated after the first instance Dec 9, 2024
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

No branches or pull requests

1 participant