Originally created by: endernoke
Originally owned by: endernoke
Describe the bug
When calculating the number of visible messages in the scrolling chat history, we hardcoded the average height of each message to be 3 lines which is obviously technical debt.
Usually a lot of empty space is left in the message history view which hurts UX:
This is especially bad when there are a lot of images in the chat (which have height = 17 lines), so the chat history display might overflow. This may lead to inconsistent scrolling.
To Reproduce
Steps to reproduce the behavior:
npm run start chat:k, :jExpected behavior
Message history display should utilize all available space, by either displaying all messages that fit in the display area or spacing the messages evenly.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Originally posted by: endernoke
There's a breakthrough in getting a generic scrollview to work, will have a PR coming today/tmr 😄
Ticket changed by: supreme-gg-gg