JosephusPaye / Keen-UI

A lightweight Vue.js UI library with a simple API, inspired by Google's Material Design.
https://josephuspaye.github.io/Keen-UI/
MIT License
4.1k stars 437 forks source link

Popover doesn't work in a Modal #278

Open llops opened 7 years ago

llops commented 7 years ago

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?

JosephusPaye commented 7 years ago

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?

llops commented 7 years ago

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.

nivv commented 7 years ago

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

olsgreen commented 6 years ago

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.