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

Beautiful package! Question about nested widget usage #54

Open
rfgallagher1 opened this issue Aug 16, 2023 · 1 comment
Open

Beautiful package! Question about nested widget usage #54

rfgallagher1 opened this issue Aug 16, 2023 · 1 comment

Comments

@rfgallagher1
Copy link

In my app, I'm creating the nodes/key/etc per the directions, and everything works great as long as I'm within the widget that's a direct descendent of the MaterialApp widget.

However I'm trying to pass the focusNode array to other stateful/stateless child widgets and reference the array in those other widgets. When I do that, the overlay does pop up and the text shows as expected, but the hole that should highlight the widget (wrapped in the Focus widget inside the child) doesn't get highlighted (so basically the text shows in the right area, but the whole screen is covered in translucent gray, instead of the specified widget being fully visible).

Any idea why that might be?

@talamaska
Copy link
Owner

Without a sample code It is hard to say what it could be. If there is no a whole, the focus node is either not found, either not measured correctly. I have 3 different screens with 3 different onboardings. I don't think they are direct descendance to the materialApp

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

2 participants