jtsage / jtsage-datebox

A multi-mode date and time picker for Bootstrap (3&4), jQueryMobile, Foundation, Bulma, FomanticUI, and UIKit (or others)
http://datebox.jtsage.dev/
Other
474 stars 166 forks source link

enablePopup only disables visible area #290

Closed bfeldhake closed 10 years ago

bfeldhake commented 11 years ago

I've got 3 datebox inputs right in a row in a web form.

If I don't add any attributes, I can open the first datebox and I'm still able to click behind it to open the other 2, so I have 3 open on top of each other all at the same time.

If I add the enablePopup attribute, I can open the first datebox and the viewable area of my screen is disabled in the background, but on longer forms I am able to scroll down and click other elements outside of the initial viewable area.

jtsage commented 10 years ago

You are correct - trying to do layers like this is messy - you are on the right track - enablePopup drops back to the jQM version of popup / positioning code - it is much more robust than my own, and I would suspect this problem will fix itself before too long as they also notice this problem.