-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The popup datepicker positions itself behind checkboxes #9
Comments
The label of the checkbox has z-index=2, so there's no other way to fix it. |
There is a datepicker_getZindex function in the ui datepicker which is supposed to ensure it has the proper z-index to show above anything else on the page. For some reason its failing to properly calculate here. working on figuring out why. |
Thanks for looking into it. The datepicker_getZindex function seems to work correctly though if a parent element is absolutly positioned such as in the case with a datepicker inside popup http://jsbin.com/uzaret/1298/edit. |
still working on a workaround for this |
Any updates on this? It appears to be an issue with radio buttons too. I have tried various workarounds with the z-index to no avail...Thanks! |
The workaround proposed by indrimuska is the best solution I've found so far. http://jsbin.com/uzaret/1925/edit |
set the z-index to a high value. in my case this solved the issue. #ui-datepicker-div { z-index: 9999 !important; } |
@amarkarian yes thats the best solution at the moment |
hint: if you want to avoid keyboard popup on iPad, just add onfocus="this.blur();" attribute to the input like this @alexander: Another topic; in some - not reproducable cases - the current year turns after clicking the < button to 1800. Any Idea? |
The popup datepicker positions itself behind checkboxes. Seems that this should be fixable by forcing a higher z-index on the datepicker div. But maybe there is a better way already built into jquery mobile?
http://jsbin.com/uzaret/1292/edit
The text was updated successfully, but these errors were encountered: