Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#2598 closed bug (fixed)

[ui.datepicker] Datepicker status bar floating issue

Reported by: graste Owned by: iMarc
Priority: major Milestone: 1.5
Component: ui.core Version: 1.2.3
Keywords: ui datepicker showstatus float Cc:
Blocked by: Blocking:

Description

The status bar text is sometimes shown in the top row of the date picker instead of the bottom row. This happens due to not clearing the floats when displaying multiple months.

A quick fix in line 1350 solves the issue:

Change from

html += (showStatus ? '<div id="datepicker_status_' + this._id + 

to:

html += (showStatus ? '<div style="clear: both;"></div><div id="datepicker_status_' + this._id + 

Simple testcase that shows the floating issue:

$("input.dateperiod").datepicker({
    showStatus: true,
    rangeSelect: true,
    numberOfMonths: [1,2],
    stepMonths: 1
  });

Change History (4)

comment:1 Changed 12 years ago by paul

Owner: changed from paul to iMarc

comment:2 Changed 12 years ago by paul

Resolution: fixed
Status: newclosed

Fixed in r5405.

comment:3 Changed 11 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:4 Changed 11 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.