Closed MkLHX closed 1 week ago
Also I noticed that click outside a modal doesn't work properly. A click under a modal doesn't close it due to h-full
.
Personally I find it more predictable when a modal is centred by default.
Top/bottom position can be set by self-start/self-end
class.
@Sqrcz Hi! Can I take this task? I already have an implementation. I'm testing it right now and everything looks ok.
@woodrunsdeep Sure 👍
sorry for long reply... I was on holidays ;)
Hi there,
I'm looking for a modal component vertically centered.
I saw when I remove the h-full class on the modal root div the result is a centered modal. https://github.com/themesberg/flowbite-vue/blob/main/src/components/FwbModal/FwbModal.vue#L13
In the component there is ModalPosition type but it's not used https://github.com/themesberg/flowbite-vue/blob/main/src/components/FwbModal/types.ts#L1
I don't know if these modifications in the FwbModal component allowing us to use modal as vertically centered: