#Why is the <dialog> modal show even when I have not called showModal()?
6 messages · Page 1 of 1 (latest)
do you have a sandbox to show the issue?
Hi @dusk lion I have an example https://github.com/vfshera/qwik-modal-bug
it appears to be your class... but that is interesting
if i just comment out your class its not open by default
class={${ref.value?.open && 'flex'} h-full w-full flex-col [scrollbar-width:none] backdrop:bg-black/50 max-lg:!max-h-[100%] max-lg:!max-w-[100%] lg:h-4/5 lg:w-[35%] lg:rounded-2xl}
appears to work fine if change the flex to only be applied only when its open