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

Inside the popup the datebox is not working? #338

Closed ramRkanna closed 10 years ago

ramRkanna commented 10 years ago

I want to access the datebox inside the popup but it is not opening

http://jsfiddle.net/hqamzyh0/1/

According to the demo normally when using the datebox is working perfect.But when using with popup it was not opening.

Please suggest solution for this.

jtsage commented 10 years ago

Currently, jQM does not allow nesting of popups - which is what DateBox uses to display. Really, the only workaround to using a datebox in a popup is to use it inline or inlineBlind

http://jsfiddle.net/hqamzyh0/2/

Docs:

http://dev.jtsage.com/jQM-DateBox/doc/3-4-display/ http://dev.jtsage.com/jQM-DateBox/api/useInline/ http://dev.jtsage.com/jQM-DateBox/api/useInlineBlind/

This change to datebox was not made lightly - the fact of the matter is, I don't have the time, or the drive to work on this as I once did - by leveraging the popup library to handle the display of datebox, I can spend more time making sure the mechanics work right - I simply don't have enough time to keep the display / positioning stuff up to date.

ramRkanna commented 10 years ago

Ok Thanks for the suggestion.