excid3 / tailwindcss-stimulus-components

A set of StimulusJS components for TailwindCSS apps similar to Bootstrap JS components.
https://excid3.github.io/tailwindcss-stimulus-components/
MIT License
1.36k stars 137 forks source link

Flattpickr not working inside Slideover? #246

Closed devrizwanali closed 4 days ago

devrizwanali commented 2 months ago

Stimulus flatpickr not working inside Slideover

it seems like z-index issue but the faltpickr already have the z-index value 99999.

flatpickr-calendar.open {
    display: inline-block;
    z-index: 99999;
}

Here is the minimal code of the issue.

https://github.com/devrizwanali/slideover

https://github.com/excid3/tailwindcss-stimulus-components/assets/26557936/efb97bf5-894b-4661-8858-085570a7a42e

excid3 commented 4 days ago

This thread suggests using {static: true} with Flatpickr: https://github.com/flatpickr/flatpickr/issues/1502

Doesn't seem to be an issue with TSC, but with Flatpickr's interactions with dialog elements so their issues are a better place for this.