vue-final-modal icon indicating copy to clipboard operation
vue-final-modal copied to clipboard

Add new `zIndex` option to plugin configuration

Open mrleblanc101 opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

Currently, the modal zIndex starts at 1000. I'm using vfm with floating-vue library which starts their zIndex at 10000. So currently, if I have a manual tooltip (always open), it wil still be visible when opening the modal and be displayed over the modal.

Describe the solution you'd like

I think we should probably have a option in the createVfm() to pass the "root" zIndex to be something other than 1000.

Describe alternatives you've considered

Currently, I think I'll override the CSS of floating-vue so that the base zIndex of the tooltips are 999 instead of 10000 to be under my modals.

Additional context

mrleblanc101 avatar Mar 17 '25 02:03 mrleblanc101