calebjacob / tooltipster

A jQuery tooltip plugin
MIT License
2.76k stars 480 forks source link

Tooltipster Appears Above JQuery Modal #762

Closed mercury529 closed 5 years ago

mercury529 commented 5 years ago

Hello,

First I wanted to say great job on tooltipster. I have been very impressed with the capabilities and documentation.

I did encounter one small issue. I have an interactive tooltip on my page. From the tooltip I am triggering a jquery modal open event. However while the modal is active, my tooltip is both visible above the modal and still can be interacted with.

I was curious if there is a way to address this so I have the expected behavior of the tooltip remaining active but being beneath the modal?

Thank you very much!

louisameline commented 5 years ago

Hello, thanks fot the kind words! Please check the zIndex option and give it a lower value than the z-index of the modal.

mercury529 commented 5 years ago

Thanks for getting back to me. My mistake, I had tried the zIndex property but had improper case on it. That fixed my problem. Sorry for the user-error.

louisameline commented 5 years ago

No worries.