flutter_speed_dial
flutter_speed_dial copied to clipboard
Overlay stays on top after SpeedDialChild.onTap push Navigator
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.
I made some tests and if I add a debugPrint('Open')
and debugPrint('Close')
on the onOpen
and onClose
of SpeedDial:
- Click on the SpeedDialChild to navigate to a new page
- 'Close' is printed
- The new view appear
- 'Open' is printed 2 times
- 'Open' is then printed each time I click anywhere
@luca-colazzo Please let me know if you know how to fix this
I am having the same issue, background overlay remains after using Navigator.pushNamed
from within SpeedDialChild.
Will investigate next week
+1
+1, Same issue, The overlay still remains after page change with Get.to
.
+1, Also have the same issue. I set renderOverlay: false
for now until it gets fixed.
https://github.com/darioielardi/flutter_speed_dial#how-to-use-openclosedial-property
set property
openCloseDial
onOpen
onClose
fix this issuse
This didn't do it for me. Still rendering overlay when navigating to a new screen.
Set property renderOverlay
to false
solved my problem.