Dismiss popup on touch scroll

1 posts, 0 answers
  1. Troy
    Troy avatar
    11 posts
    Member since:
    Sep 2008

    Posted 04 Aug 2013 Link to this post

    Hi all -

    I've got a pop-up menu that shows up on a left click, which works fine.  However, on touch-enabled devices (Windows 8 Surface, iPad, iPad Mini, iPhones, etc) after I have touched the button to make the popup appear, I can then touch somewhere else on the screen to scroll up or down and the menu is still visible, but it scrolls with the page.

    Is there any quick and easy was to detect a touch scroll event and dismiss the popup?  I already have the code in place to dismiss it when the mouse goes out, but this doesn't work on touch screens.

    Thanks in advance!

Back to Top