Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-init when scroll area pass from "display: none" to "display: block" #109

Open
valeriosillari opened this issue Jul 1, 2021 · 0 comments

Comments

@valeriosillari
Copy link

I've set the vue chat scroll and I got the all working.

The vue chat area is inside a div (like a left off-canvas element) that can be toggled and show/hidden just with the css property display block/hidden.

I've noticed that all if fine for the scroll until the div is shown.
Whenever the div is "hidden" and a new message is coming to the chat, the chat scroll "freezes" at the position where it was, so if I reopen my off-canvas box I cannot see the latest message until manually I scroll at the bottom of the chat.

  1. anybody experience the same issue?
  2. this could be defined as issue?
  3. there is a way to "re-init" the scroll when a vue parameter and event is happening?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant