Keen-UI icon indicating copy to clipboard operation
Keen-UI copied to clipboard

Popover doesn't work in a Modal

Open llops opened this issue 7 years ago • 4 comments

First off, thanks for a great library Josephus!

I'm not sure why a popover is not initialized when used inside a modal. Demo: http://codepen.io/llops/pen/GWMLmB

Do I need to change/add something else or is this a bug?

llops avatar Mar 16 '17 10:03 llops

Hi @llops,

This is probably a bug, however, your demo seems to work fine for me - the second popover opens correctly in the modal (Chrome 58 and Firefox 52, Windows 10).

image

Could there be something else causing the issue?

JosephusPaye avatar Apr 07 '17 23:04 JosephusPaye

Hi @JosephusPaye, I changed the code doing some tests. Sorry!

I have updated the demo: http://codepen.io/llops/pen/GWMLmB

Popover is not initialized when the markup is declared inside a modal.

llops avatar Apr 19 '17 13:04 llops

I have the same issue but when inside a UiTab-component

nivv avatar Jun 27 '17 06:06 nivv

And me! Strangely enough, it works if I put it within a component within a modal...

There are no console errors occurring, but I can confirm @llops pen doesn't work for me either on OS X both Safari 11.0 (13604.1.38.1.6) & Chrome 62.0.3202.94.

I'll try and patch it when I have some time.

olsgreen avatar Nov 17 '17 19:11 olsgreen