-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Closed
Copy link
Labels
in triagePresently being triaged by the triage teamPresently being triaged by the triage teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds
Description
Steps to reproduce
create a OverlayPortal.targetsRootOverlay widget with a Tooltip inside
Expected results
Tooltip should display on hover
Actual results
No tooltip assertion failed renderer.parent != null
_buildTooltipOverlay fails on
box.localToGlobal because
getTransformTo assetion
assert(renderer.parent != null) fails
Workaround
Add Overlay in the Tooltip hierarchy
Or use OverlayPortal instead of OverlayPortal.targetsRootOverlay
Code sample
Code sample
OverlayPortal.targetsRootOverlay(
controller: OverlayPortalController(),
overlayChildBuilder: (_) => Tooltip(message: 'Some msg', child: anyChild),
child: anyChildAgain,
)Screenshots or Video
No response
Logs
No response
Flutter Doctor output
NA
Metadata
Metadata
Assignees
Labels
in triagePresently being triaged by the triage teamPresently being triaged by the triage teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds