Make a scroll action on a panel #2525
Unanswered
ThorvaldOF
asked this question in
Q&A
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.
-
Hi everyone, I was redoing the display system for my chat and hit a dead end.
In the basic chat, the messages disappear after 10 seconds.
In my chat, messages do not disappear and are hidden using max-height and overflow: scroll.
The problem was that the messages were displayed "at the bottom", so in an invisible part and the player had to scroll each time to see the new messages.
I searched for a long time for a solution and fortunately DevulTj came to my help.
The solution is to call the "TryScrollToBottom()" method for the parent panel each time a message is sent
I hope it will help some people
Beta Was this translation helpful? Give feedback.
All reactions