diff --git a/src/components/Chat.vue b/src/components/Chat.vue index 390085b..b246c0a 100644 --- a/src/components/Chat.vue +++ b/src/components/Chat.vue @@ -258,7 +258,7 @@ - +
-
+ @@ -340,6 +340,7 @@ import ChatHeader from "./ChatHeader"; import VoiceRecorder from "./VoiceRecorder"; import RoomInfoBottomSheet from "./RoomInfoBottomSheet"; import CreatedRoomWelcomeHeader from "./CreatedRoomWelcomeHeader"; +import MessageOperationsBottomSheet from './MessageOperationsBottomSheet'; const READ_RECEIPT_TIMEOUT = 5000; /* How long a message must have been visible before the read marker is updated */ @@ -397,7 +398,8 @@ export default { MessageOperationsPicker, VoiceRecorder, RoomInfoBottomSheet, - CreatedRoomWelcomeHeader + CreatedRoomWelcomeHeader, + MessageOperationsBottomSheet }, data() { @@ -1072,6 +1074,7 @@ export default { // Store the event we are reacting to, so that we know where to // send when the picker closes. this.selectedEvent = event; + this.$refs.messageOperationsSheet.open(); this.showEmojiPicker = true; }, diff --git a/src/components/MessageOperationsBottomSheet.vue b/src/components/MessageOperationsBottomSheet.vue new file mode 100644 index 0000000..d4bb922 --- /dev/null +++ b/src/components/MessageOperationsBottomSheet.vue @@ -0,0 +1,69 @@ + + + + + \ No newline at end of file