Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
Showing a dialog from deep down the component tree.
All of the examples of dialogs are a bit simple.
When you are deep down the component tree how do you display a dialog? m.top is not my "scene" component and there for nothing happens when I set m.top.dialog.
Re: Showing a dialog from deep down the component tree.
I believe the way to do this is to have a field on the child node that's observed by the parent node. The parent can then see that field changed and set its own field observed by its own parent to pass it on up to the top, where it would be observed and displayed.