Opened 7 years ago

Closed 7 years ago

#16283 closed defect (fixed)

Tree: exception on END key when autoExpand: true

Reported by: freeneutron Owned by: bill
Priority: undecided Milestone: 1.9
Component: Dijit Version: 1.8.1
Keywords: Cc:
Blocked By: Blocking:

Description

Take the first example code here, which for some reason does not start with the source domain((
Then, I make this code work, run in Firefox, click on any branch of the tree generated, press End, open the console and watch the message:
TypeError?: a is undefined
If you remove the option (autoExpand: true), then the error disappears

Change History (2)

comment:1 Changed 7 years ago by bill

Milestone: tbd1.9
Summary: dojo.Tree strange behaviorTree: exception on END key when autoExpand: true

Indeed, I can reproduce it on the third Tree of dijit/tests/test_Tree.html, thanks for the report, I'll look into it.

Note: on mac fn-rightArrow maps to the end key.

Last edited 7 years ago by bill (previous) (diff)

comment:2 Changed 7 years ago by bill

Resolution: fixed
Status: newclosed

In [29908]:

Fix end-key handling on Tree when there's an "expanded" node with no children. Fixes #16283 !strict.

Note: See TracTickets for help on using tickets.