Opened 14 years ago

Closed 14 years ago

#6232 closed defect (fixed)

Tree: can't open dropped item's new parent

Reported by: bill Owned by: bill
Priority: high Milestone: 1.1
Component: Dijit Version: 1.1b1
Keywords: a11y Cc:
Blocked By: Blocking:


On test_Tree_DnD.html, drag "Orange" from "Citrus" to "Cereals". Clicking the expando icon (ie, the + sign) for Cereals usually has no effect... and sometimes it even changes the + icon to a point icon as though Cereals was a leaf.

Happens always on my IE6 and IE7 (IE7 also leaves a blank area where "Orange" used to be). FF seems to work better although has intermittent problems.

Change History (3)

comment:1 Changed 14 years ago by bill

Keywords: accessibility added

Problem occurs in Tree._expandNode(), where the first few lines try to restore focus to "Orange", even though "Orange" is hidden (since "Cereals" is closed).

comment:2 Changed 14 years ago by bill

Keywords: a11y added; accessibility removed

comment:3 Changed 14 years ago by bill

Resolution: fixed
Status: newclosed

(In [13122]) After dropping nodeC into nodeP, where nodeP is collapsed, this._lastFocused would still be pointing to nodeC, and clicking nodeP's expando would fail since it tried to refocus on nodeC even though nodeC was hidden. Workaround this by making expando-click focus on the node w/the expando. Maybe that's the right behavior anyway? Not sure. Fixes #6232. Refs #4664.

Note: See TracTickets for help on using tickets.