Closed utking closed 2 years ago
Thanks for opening up your first issue!
@utking Thanks for the issue, you can do PR 😉
@utking Thanks for the issue, you can do PR wink
Sure, will do :)
Please see https://github.com/Sitronik/vue3-beautiful-chat/pull/5 for a possible solution
Please see #5 for a possible solution
Thanks 👍
A simple scenario - a simple app with two routes - one with the chat and another without it. When you leave the page with the chat component, it throws an error
The ResizeObserver in https://github.com/Sitronik/vue3-beautiful-chat/blob/master/src/MessageList.vue#L132 is still there, while the $refs.scrollList is not. Looks like ResizeObserver.disconnect() on unmount should solve the problem.