Bug Tracker

Ticket #2598 (closed bug: fixed)

Opened 10 months ago

Last modified 8 months ago

[ui.datepicker] Datepicker status bar floating issue

Reported by: graste Assigned to: iMarc
Type: bug Priority: major
Milestone: 1.2.4 Component: ui
Version: 1.2.3 Keywords: ui datepicker showstatus float
Cc: Needs: Review

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
  });

Attachments

Change History

Changed 10 months ago by paul

  • owner changed from paul to iMarc

Changed 8 months ago by paul

  • status changed from new to closed
  • resolution set to fixed

Fixed in r5405.

Note: See TracTickets for help on using tickets.