привет,
I have a f7 app with a popup. It’s routeable popup and content is loaded from AJAX (url):
{
name: 'popuptest',
path: '/popuptest/',
popup: {
url: './pages/popuptest.html'
}
}
Popup content starts with:
<div class="popup">
<div class="view view-init">
<div class="page">
....
I am calling my popup with this:
<a href="/popuptest/">
<i class="icon material-icons">add</i>
</a>
On first opening popup is normally showing the popup, and on close it closes normally. After that when I try to open popup for second time (and each other time) popup opens twice.
But when I use this in the routes instead everything is working fine:
{
name: 'popuptest',
path: '/popuptest/',
popup: {
content: `<div class="popup">
<div class="view view-init">
<div class="page">
....`
}
}
Is it a bug or I am doing something wrong?