Ticket #7552 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

A Datepicker created on a detached div has zero height

Reported by: ThiefMaster Owned by:
Priority: minor Milestone: 1.8.15
Component: ui.datepicker Version: 1.8.14
Keywords: Cc:
Blocking: Blocked by:

Description

A Datepicker created on a detached div has zero height in Chrome (apparently also in IE8, but not tested it myself). In Firefox it works fine.

Testcase:  http://jsfiddle.net/ThiefMaster/ZM95R/ Related:  http://stackoverflow.com/questions/6662113/why-does-a-datepicker-created-on-a-detached-div-have-zero-height-in-chrome

Change History

comment:1 Changed 3 years ago by Richard D. Worth

  • Status changed from new to closed
  • Resolution set to fixed

Datepicker: show inline datepicker setting explicit display:block instead of using .show() in case it is disconnected. Fixed #7552 - A Datepicker created on a detached div has zero height

Changeset: b8af0d1f7505dd5e56319a11bbd14f1e381b36b9

comment:2 Changed 3 years ago by Richard D. Worth

Datepicker: show inline datepicker setting explicit display:block instead of using .show() in case it is disconnected. Fixed #7552 - A Datepicker created on a detached div has zero height (cherry picked from commit b8af0d1f7505dd5e56319a11bbd14f1e381b36b9)

Changeset: c81bfb9815405cd0a1da41ffbfe97bfc0f4ab11b

comment:3 Changed 3 years ago by rdworth

  • Milestone changed from 1.9 to 1.8.15
Note: See TracTickets for help on using tickets.