twbs-dropdown-doubletap icon indicating copy to clipboard operation
twbs-dropdown-doubletap copied to clipboard

Touch/Tap Outside of Drop Down Menu

Open davidloop opened this issue 10 years ago • 3 comments

Tested on: iOS 7.0 / iPad Mini iOS 7.1 / iPhone 5s Android 4.4.2 / Nexus 7 (2nd Gen)

When the drop down menu is expanded, the expected behavior is to tap outside of the menu area and the drop down menu collapses or closes and this does not happen on iOS. However it does happen on Android.

davidloop avatar Jun 03 '14 23:06 davidloop

Yeah. I see this behavior all the time on iOS, with pretty much anything that doesn't specifically capture "touch" events. I'm not sure that there is a clean fix without attaching a touch event listener to the body element.

mrhanlon avatar Jun 06 '14 05:06 mrhanlon

Yeah, i find the same problem here tested on iPad air. Any solution? If this issue can be fixed, than this will become great addition to bootstrap.

Thanks

Epenjehem avatar Jun 18 '14 09:06 Epenjehem

This was the solution I found, works very well with Bootstrap. http://www.smartmenus.org/

davidloop avatar Jun 18 '14 12:06 davidloop