ui.log behavior with ui.tabs #5118
pandabearcodes
started this conversation in
Ideas / Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I added to a discussion a while ago - #3909
Which resulted in issue #5112
As the issue was closed, i went right ahead to try it, and as expected, it works like a charm. Thank you very much! 💖
However, I do have a follow up to this. When i have a setup in which a ui.log is placed within a ui.tabs structure, this stickiness is lost after switching between tabs:
In the above example, ui.log starts off sticking to the bottom, i switch to 'Two' - back to 'One', and we are set at the top.
With some help from Copilot I was able to work around this by adding a manual override like this:
This would need to be expanded upon to save the last position and/or if it was scrolled to the bottom, but it works in general.
Now I was just wondering if the current behavior is expected, and/or if this is something that would deserve a nicegui way of handling it.
Love,
panda
Beta Was this translation helpful? Give feedback.
All reactions