Opened 11 years ago
Closed 10 years ago
#8389 closed bug (patcheswelcome)
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.
Change History (4)
comment:1 Changed 11 years ago by
Milestone: | 1.9.0 → 1.11.0 |
---|
comment:2 Changed 11 years ago by
Status: | new → open |
---|
comment:3 Changed 10 years ago by
Summary: | Calendar with slideDown animation should become slideUp in some case → Datepicker: slideDown animation should become slideUp when calendar is flipped |
---|
comment:4 Changed 10 years ago by
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.
Note: See
TracTickets for help on using
tickets.
Test case against master - http://jsfiddle.net/tj_vantoll/f9SuW/