Using data-modal="false" not working as expected?

3 posts, 0 answers
  1. Bastien
    Bastien avatar
    19 posts
    Member since:
    Mar 2010

    Posted 17 Jan 2013 Link to this post

    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
    <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
  2. Bastien
    Bastien avatar
    19 posts
    Member since:
    Mar 2010

    Posted 21 Jan 2013 Link to this post

    Any idea?
  3. Kendo UI is VS 2017 Ready
  4. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 21 Jan 2013 Link to this post

    Hi Bastien,

    I was able to reproduce the problem and can confirm this is a bug. We will address the issue as soon as possible. Please accept my apologies for the inconvenience caused.

    As a small sign of our appreciation for bringing this to our attention I updated your points.

    Regards,

    Iliana Nikolova
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top