chore: Minor fix

This commit is contained in:
iamsivin
2025-05-13 17:41:25 +05:30
parent 12ace33254
commit 162929eb7a
3 changed files with 4 additions and 4 deletions
@@ -229,7 +229,7 @@ defineExpose({
v-if="showForwardMessageModal"
:x="forwardFormPosition.x"
:y="forwardFormPosition.y"
:lock-scroll-element="conversationPanelElement"
:scroll-lock-element="conversationPanelElement"
@close="closeForwardModal"
>
<ForwardMessageForm
@@ -13,14 +13,14 @@ import TeleportWithDirection from 'dashboard/components-next/TeleportWithDirecti
const props = defineProps({
x: { type: Number, default: 0 },
y: { type: Number, default: 0 },
lockScrollElement: { type: [HTMLElement, null], default: null },
scrollLockElement: { type: [HTMLElement, null], default: null },
});
const emit = defineEmits(['close']);
const menuRef = useTemplateRef('menuRef');
const scrollLockElement = computed(() => props.lockScrollElement);
const scrollLockElement = computed(() => props.scrollLockElement);
const isLocked = useScrollLock(scrollLockElement);
@@ -200,7 +200,7 @@ export default {
v-if="isOpen && !isCannedResponseModalOpen"
:x="contextMenuPosition.x"
:y="contextMenuPosition.y"
:lock-scroll-element="conversationPanelElement"
:scroll-lock-element="conversationPanelElement"
@close="handleClose"
>
<div class="menu-container">