Antoine Dupont

Results 92 comments of Antoine Dupont

Fixed in https://github.com/antoine92190/vue-advanced-chat/commit/cc6ad4f6f6211fb0ab8285796e04cc8c746a9970 Actually, the list was destroyed at the same time as the click action was done, so the click was not computed. Not sure where this regression comes...

You need to set the messages prop inside the timeout: ``` setTimeout(() => { this.messages = Object.assign([], msgs); this.messagesLoaded = true; }, 0); ```

Thanks for the PR! Could you also add the new callback in the README? (in the [Events API](https://github.com/antoine92190/vue-advanced-chat#events-api) section)

Yes I agree, adding animation may be difficult though. If you want to send me a PR, I would be happy to merge it :)

The swipe back distance was already fixed in https://github.com/antoine92190/vue-advanced-chat/commit/219fe6bf2c89a69c368d0825d11dc9bbc5aa688f I increased the distance further in https://github.com/antoine92190/vue-advanced-chat/commit/b05a979a9a35875e0ac099c6c12437d9b0e2ab4d

This is probably something that could be added after vue 3 migration using SwiperJS. We could also add some message actions with Swiper, like swipe left to trigger message reply.

You can probably already implement that using `room-actions` prop: ``` room-actions="[ { name: 'favoriteRoom', title: 'Pin Room' } ]" ``` Then when a room is pinned, you can use `room-list-avatar`...

Yes I agree, feel free to send a PR for that.

The implementation should be easy, you just need to make sure the drag and drop calls the following function: https://github.com/antoine92190/vue-advanced-chat/blob/master/src/lib/Room/RoomFooter/RoomFooter.vue#L498-L524

You need to do the change in the file I sent you, then send a pull request.