nohros / nsPopover

Popover dialogs for angularjs applications.
MIT License
126 stars 107 forks source link

[Newbie] Popover doesn't show with lightbox #107

Open ruisilva450 opened 8 years ago

ruisilva450 commented 8 years ago

Hi, I have an lightbox with some images showing. And I'm trying to make a button that shows a popover. But I'm not getting it to show. I have other popovers on the same website that work well but within a lightbox it's not working.

<div class="share" ns-popover
        ns-popover-template="popover"
        ns-popover-theme="ns-popover-tooltip-theme"
        ns-popover-trigger="click"
        ns-popover-placement="top"
        ns-popover-timeout="-1">
</div>

<script type="text/ng-template" id="popover">
        I should be visible on popover
</script>

Thanks

ruisilva450 commented 8 years ago

Found out that is was showing behind the lightbox. Fixed editing the css:

.ns-popover-tooltip-theme{
    z-index: 10000 !important;
}