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

Add navigator as ancestor to Offset #66

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ErickPariseVitorassi
Copy link

@ErickPariseVitorassi ErickPariseVitorassi commented Nov 30, 2022

Add navigator.context.findRenderObject() as an ancestor to position the overlay offset. This is required to work correctly inside a RouterOutlet. Flutter overlay widgets implements this, for example DropdownButton.

This is needed to work correctly inside a RouterOutlet, flutter DropdowButton implements this
@ErickPariseVitorassi ErickPariseVitorassi changed the title Add navigator ancestor to Offset Add navigator as ancestor to Offset Dec 1, 2022
@MarfHans
Copy link

It worked for me thanks.

Are there plans to merge? or do I need to create a fork?

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

Successfully merging this pull request may close these issues.

None yet

2 participants