Datepicker: hidden input is positioned incorrectly in fixed div
|Reported by:||SpoonNZ||Owned by:|
If you have a datepicker with a hidden main input (for example, if you're using both an altField and showOn:button), this doesn't position correctly on the page if it is within a fixed element.
The possibility of a hidden main input is considered in places in the code, as is the possibility of a fixed parent, however both in tandem doesn't appear to have been handled correctly.
A JSFiddle showing the problem is available at http://jsfiddle.net/aPrAv/. Scroll down the page a bit - the relatively positioned datepicker appears correctly, however the fixed position one doesn't.
A fix has been submitted to https://github.com/jquery/jquery-ui/pull/1050
Change History (5)
comment:4 Changed 4 years ago by
|Status:||new → open|
|Summary:||Datepicker with hidden input is positioned incorrectly in fixed div → Datepicker: hidden input is positioned incorrectly in fixed div|