sridhars711 / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

Smarter focus handling #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Focus shoud be somewhat smarter.
The user should always be able to use the keys (provided, that the tree
itself has the focus), so there should always be exactly on focused node.
The focus must always be on a _visible_ node.

  * on init focus root (or first visible child, if root is hidden)
  * whe the tree container is clicked, or gets focus, make sure that
exactly one node is focused
  * when a node is collapsed, and a child was focused: focus the node
  (see also issue #10)
  * when a folder is clicked to expand: focus it
  * whwn a lazy node was

Original issue reported on code.google.com by moo...@wwwendt.de on 11 Sep 2008 at 8:40

GoogleCodeExporter commented 9 years ago
  * when [tab] is used to move inside the tree container, then the
ui-dynatree-focused node should get the focus

Original comment by moo...@wwwendt.de on 11 Sep 2008 at 8:42

GoogleCodeExporter commented 9 years ago
See r48

Original comment by moo...@wwwendt.de on 12 Sep 2008 at 8:26

GoogleCodeExporter commented 9 years ago
considered verified

Original comment by moo...@wwwendt.de on 17 Jul 2012 at 4:12