Hi all,
When I put data-modal="false" on my modalview, clicking on the screen is closing the modalview, but even if I click inside the modalview it's closing it.
I was expecting that the modalview would close only if the user is clicking outside of it.
I have the following HTML
As the height of the modalview is set to 70%, there's enough space to click outside of it to close it.
Is it a bug or is it working like this? And if it's working like this, how can I close the modalview only when the user clicks outside the modalview?
Thanks for your help!
Bastien
When I put data-modal="false" on my modalview, clicking on the screen is closing the modalview, but even if I click inside the modalview it's closing it.
I was expecting that the modalview would close only if the user is clicking outside of it.
I have the following HTML
<div id="modalview-post-details" data-role="modalview" style="width: 100%; height: 70%;" data-modal="false"></div>As the height of the modalview is set to 70%, there's enough space to click outside of it to close it.
Is it a bug or is it working like this? And if it's working like this, how can I close the modalview only when the user clicks outside the modalview?
Thanks for your help!
Bastien