You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the Textual! It definitely looks like the best TUI library out there, and I'm glad the docs are coming :D
I have a small app with two scroll views containing tree widgets. First widget is instantiated during the on_mount of the app, everything's ok.
The second one, I add in an event handler at app level (the idea is that I want a new tree to appear aside the first one when I click on an element int he first one). The thing is, only the root node of the tree is visible! But if I resize the window (for example), then all the other children nodes appear.
I've tried dozens of variations, and always end up stuck in the same place. Removing the ScrollView fixes it, but I need it since the tree has more nodes than the screen can display.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Thanks for the Textual! It definitely looks like the best TUI library out there, and I'm glad the docs are coming :D
I have a small app with two scroll views containing tree widgets. First widget is instantiated during the
on_mount
of the app, everything's ok.The second one, I add in an event handler at app level (the idea is that I want a new tree to appear aside the first one when I click on an element int he first one). The thing is, only the root node of the tree is visible! But if I resize the window (for example), then all the other children nodes appear.
I've tried dozens of variations, and always end up stuck in the same place. Removing the ScrollView fixes it, but I need it since the tree has more nodes than the screen can display.
Am I doing anything wrong?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions