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

Overlay stays on top after SpeedDialChild.onTap push Navigator #262

Closed
levydanqc opened this issue Jun 22, 2022 · 10 comments
Closed

Overlay stays on top after SpeedDialChild.onTap push Navigator #262

levydanqc opened this issue Jun 22, 2022 · 10 comments
Labels
bug Something isn't working

Comments

@levydanqc
Copy link

If the click on a SpeedDialChild is used to Navigate to another view, with

onTap: () => Navigator.push(
  context,
  MaterialPageRoute(
      builder: (context) =>
          const AnotherView()),
),

the BackgroundOverlay stays on and the view is unclickable.

@levydanqc
Copy link
Author

I made some tests and if I add a debugPrint('Open') and debugPrint('Close') on the onOpen and onClose of SpeedDial:

  1. Click on the SpeedDialChild to navigate to a new page
  2. 'Close' is printed
  3. The new view appear
  4. 'Open' is printed 2 times
  5. 'Open' is then printed each time I click anywhere

@levydanqc
Copy link
Author

@luca-colazzo Please let me know if you know how to fix this

@DanielKirkwood
Copy link

I am having the same issue, background overlay remains after using Navigator.pushNamed from within SpeedDialChild.

@luca-colazzo
Copy link
Collaborator

Will investigate next week

@hatemragab
Copy link

+1

@ppanuwatpr
Copy link

+1, Same issue, The overlay still remains after page change with Get.to.

@DzonaTheSymbol
Copy link

+1, Also have the same issue. I set renderOverlay: false for now until it gets fixed.

@passerby-yyds
Copy link

passerby-yyds commented Aug 30, 2022

image
https://github.com/darioielardi/flutter_speed_dial#how-to-use-openclosedial-property
set propertyopenCloseDial onOpen onClose fix this issuse

@DzonaTheSymbol
Copy link

This didn't do it for me. Still rendering overlay when navigating to a new screen.

@krmuller
Copy link

Set property renderOverlay to false solved my problem.

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

No branches or pull requests

9 participants