Search and Top Navigation
#8389 closed bug (patcheswelcome)
Opened June 08, 2012 03:33PM UTC
Closed January 30, 2013 01:26PM UTC
Datepicker: slideDown animation should become slideUp when calendar is flipped
Reported by: | aconstant | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.11.0 |
Component: | ui.datepicker | Version: | 1.8.21 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When the datepicker opens in the upper direction (because there is not enough room under the control), using a "slideDown" animation, the animation should change to "slideUp", to be consistent with the visual effect expected.
Attachments (0)
Change History (4)
Changed October 11, 2012 02:45PM UTC by comment:1
milestone: | 1.9.0 → 1.11.0 |
---|
Changed October 19, 2012 07:42PM UTC by comment:2
status: | new → open |
---|
Changed January 30, 2013 04:00AM UTC by comment:3
summary: | Calendar with slideDown animation should become slideUp in some case → Datepicker: slideDown animation should become slideUp when calendar is flipped |
---|
Test case against master - http://jsfiddle.net/tj_vantoll/f9SuW/
Changed January 30, 2013 01:26PM UTC by comment:4
resolution: | → patcheswelcome |
---|---|
status: | open → closed |
To make this work, the element would need to be positioned with bottom
instead of top
. I don't think we want to get into that kind of logic. If someone is interested in making this work, the solution would need to occur inside the .position()
plugin. I have a feeling that the logic would add quite a bit of bloat for a fairly minor benefit though.