logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 91c4a57fe50fae8b6e8defe08f09c8a7090bf649
parent 0b914d78155b8b5a5adfbeba91198766e315b9a0
Author: Tusooa Zhu <tusooa@kazv.moe>
Date:   Sat,  9 Apr 2022 23:11:19 -0400

Make page unscrollable when confirm modal is shown

Or we could scroll until the component is ... hidden
due to virtual-scrolling, and the modal disappears!

Diffstat:

Msrc/components/confirm_modal/confirm_modal.vue1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/components/confirm_modal/confirm_modal.vue b/src/components/confirm_modal/confirm_modal.vue @@ -1,5 +1,6 @@ <template> <dialog-modal + v-body-scroll-lock="true" class="confirm-modal" :on-cancel="onCancel" >