Skip to content

Commit 595feb2

Browse files
committed
(fix) existing ref condition
1 parent f77d73d commit 595feb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ChatWindow/ChatMessage.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ export default {
257257
if (!this.optionsOpened) return
258258
259259
setTimeout(() => {
260+
if (!this.$refs.menuOptions || !this.roomFooterRef) return
260261
const menuOptionsHeight = this.$refs.menuOptions.getBoundingClientRect()
261262
.height
262263

0 commit comments

Comments
 (0)