Opened 9 years ago

Closed 9 years ago

#11491 closed defect (fixed)

[cla][patch] Tree: collapses when next to a float

Reported by: Jonathan Bond-Caron Owned by: bill
Priority: high Milestone: 1.6
Component: Dijit Version: 1.5
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

When you have:

<div style="float:left;"></div><div dojoType="dijit.Tree">

The behavior I would expect happens on IE7 but not FF 3.6.3, Opera 10, chrome

Attachments (2)

snap_problem.gif (10.5 KB) - added by Jonathan Bond-Caron 9 years ago.
Problem
float_tree.patch (945 bytes) - added by Jonathan Bond-Caron 9 years ago.
CSS fix

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by Jonathan Bond-Caron

Attachment: snap_problem.gif added

Problem

Changed 9 years ago by Jonathan Bond-Caron

Attachment: float_tree.patch added

CSS fix

comment:1 Changed 9 years ago by bill

Component: GeneralDijit
Description: modified (diff)
Milestone: tbd1.6
Owner: changed from anonymous to bill
Status: newassigned
Summary: [cla][patch] dijit.Tree collapses when next to a float[cla][patch] Tree: collapses when next to a float

OK thanks for the patch, I'll check it out. Very strange problem.

comment:2 Changed 9 years ago by bill

Note that as #10585 points out, Tree sets overflow: auto on the tree node on every resize().

comment:3 Changed 9 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [23732]) Prevent Tree from bending around float:left elements. Fixes #11491 !strict.

Note: See TracTickets for help on using tickets.