hardlounge/client/components
Maxime Poulin 2ce374fe85 Fix uploader mount/unmount lifecycle
Currently, in `ChatInput.vue` we call `upload.abort()` which removes the event listeners, which are never added back. This effectively permanently disable uploads if the user navigates away to Settings or any other non-chat pages, and back.

Moves the binding to `mounted()` so that they're properly rebound when a chat window is in view, and also adds an `unmounted()` for clarity.

This should also fix an edge case if the page opens up on a non-chat page and there was never a ChatInput to unbind it, such as login page or add network pages.
2023-02-05 22:32:12 -05:00
..
MessageTypes TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Settings TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Special TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Windows search: ignore searchResults if it isn't the active query 2023-01-08 11:41:09 +01:00
App.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Channel.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ChannelWrapper.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Chat.vue style: Put user colors into the smallest possible scope 2022-11-27 16:04:56 +01:00
ChatInput.vue Fix uploader mount/unmount lifecycle 2023-02-05 22:32:12 -05:00
ChatUserList.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ConfirmDialog.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ContextMenu.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
DateMarker.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Draggable.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ImageViewer.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
InlineChannel.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
JoinChannel.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
LinkPreview.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
LinkPreviewFileSize.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
LinkPreviewToggle.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Mentions.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Message.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
MessageCondensed.vue allow away and back to be collapsed 2022-12-30 13:35:38 +01:00
MessageList.vue allow away and back to be collapsed 2022-12-30 13:35:38 +01:00
MessageSearchForm.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
NetworkForm.vue connect: Trim white space from user input fields (#4623) 2022-09-07 20:25:08 -07:00
NetworkList.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
NetworkLobby.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ParsedMessage.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
RevealPassword.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
RoutedChat.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Session.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Sidebar.vue Fix sidebar swipe flicker after letting go 2022-12-23 10:50:20 +02:00
SidebarToggle.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Username.vue style: Put user colors into the smallest possible scope 2022-11-27 16:04:56 +01:00
VersionChecker.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00