ui.log inside ui.tabs doesn't stick to bottom after switching tabs
#5118
Replies: 3 comments
-
|
Hi @pandabearcodes, Sorry for keeping you waiting for so long, but we've been quite busy with the 3.0 release. I can confirm that the log doesn't stick to the bottom anymore after switching tabs. This is probably because its Vue @evnchn Since PR #5112 was your contribution, maybe you have an idea how to fix it for logs in tabs? |
Beta Was this translation helpful? Give feedback.
-
No it did not happen due to the @ I guess. #5220 |
Beta Was this translation helpful? Give feedback.
-
|
This problem has been fixed in PR #5632 and just released in version 3.6. ✔️ |
Beta Was this translation helpful? Give feedback.
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