Changes between Initial Version and Version 2 of Ticket #9296


Ignore:
Timestamp:
May 14, 2009, 7:23:06 AM (11 years ago)
Author:
bill
Comment:

Hmm, I think I need a test case before checking in a fix.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9296

    • Property Owner anonymous deleted
    • Property Component changed from General to Dijit
    • Property Summary changed from dijit.Tree throws "Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus." when nodes have a margin to Tree: throws "Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus." when nodes have a margin
  • Ticket #9296 – Description

    initial v2  
    11I don't have an easy test case, but I know how to fix it:
    22If you:
    3  1 Have a rootless tree, and
    4  2 You style the nodes to use margins for spacing, and
    5  3 A user clicks in the margin,
     3 1. Have a rootless tree, and
     4 2. You style the nodes to use margins for spacing, and
     5 3. A user clicks in the margin,
    66
    77The tree attempts to focus on the rootNode.  Since this node is not actually visible (1), but isTreeNode is true, the tree attempts focus.