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 Scott González

Milestone: 1.9.01.11.0

comment:2 Changed 11 years ago by mikesherov

Status: newopen

comment:3 Changed 10 years ago by tj.vantoll

Summary: Calendar with slideDown animation should become slideUp in some caseDatepicker: slideDown animation should become slideUp when calendar is flipped

Test case against master - http://jsfiddle.net/tj_vantoll/f9SuW/

comment:4 Changed 10 years ago by Scott González

Resolution: patcheswelcome
Status: openclosed

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.