mattmezza / vue-beautiful-chat

A simple and beautiful Vue chat component backend agnostic, fully customisable and extendable.
https://matteo.merola.co/vue-beautiful-chat/
MIT License
1.5k stars 441 forks source link

Scroll to top is not working using handleScrollToTop function #252

Closed nandkk05 closed 2 years ago

nandkk05 commented 3 years ago

I was using the matrix client server to send and store events as they are received but the handle scroll to top function is not executing while I'm at the top of the chat section.

⚡️ Suggestion - Instead of automatically ripping off the chats and forcing users to use the handle scroll top function you can provide a prop to enable or disable this feature 🙂

github-actions[bot] commented 3 years ago

Thanks for opening up your first issue!

nandkk05 commented 3 years ago

Solved by capturing the event scroll to top in the component using

  @scrollToTop="handleScrollToTop"
nandkk05 commented 3 years ago

253 is created to solve this issue

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.