Opened 11 years ago
Closed 11 years ago
#7851 closed bug (cantfix)
ui-clearfix on datepicker header with nearby floats causes vertical stretch
Reported by: | rnicey | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.datepicker | Version: | 1.8.16 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Please see http://www.nicey.com/datepicker/
Note: See
TracTickets for help on using
tickets.
There's no way to modify the clearfix helper class (and have it be effective) to prevent this and it's not reasonable to not have the clearfix helper class on the datepicker and its header (things get much worse even just in this case without them).
For comparison, note that the following image does not show that there's a bug in the h2:
It simply shows that part of the element's contents can fit in the float and part of it cannot. This is what's happening with the datepicker due to it and its header needing clearfix.
Use the position:absolute workaround you found, or add float:left to your #test div or its container.