Changeset View
Changeset View
Standalone View
Standalone View
web/chat/reaction-message-utils.js
Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Lines | if (!appContainerPositionInfo) { | ||||
return null; | return null; | ||||
} | } | ||||
let emojiKeyboardWidth = 352; | let emojiKeyboardWidth = 352; | ||||
let emojiKeyboardHeight = 435; | let emojiKeyboardHeight = 435; | ||||
if (emojiKeyboard) { | if (emojiKeyboard) { | ||||
const { width, height } = emojiKeyboard.getBoundingClientRect(); | const { width, height } = emojiKeyboard.getBoundingClientRect(); | ||||
console.log(emojiKeyboard, { width, height }); | |||||
emojiKeyboardWidth = width; | emojiKeyboardWidth = width; | ||||
emojiKeyboardHeight = height; | emojiKeyboardHeight = height; | ||||
} | } | ||||
const { | const { | ||||
top: containerTop, | top: containerTop, | ||||
left: containerLeft, | left: containerLeft, | ||||
right: containerRight, | right: containerRight, | ||||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |