Giter Site home page Giter Site logo

Comments (5)

jfrux avatar jfrux commented on May 28, 2024

Also should be noted that the Recent Coverage has index 0 and FLORIDA v LEWIS has index of 1 as intended... :-/

I've also tried to use reindex method on the parent node to see if that affects anything but no go...

from lrud.

epatrasc avatar epatrasc commented on May 28, 2024

Hey @jfrux,

Could you post the structure of your LRUD tree? (looking to see nodes marked as grids and orientation/nesting errors)

from lrud.

jfrux avatar jfrux commented on May 28, 2024

@epatrasc

{
  "root": {
    "orientation": "vertical",
    "index": 0,
    "children": {
      "video-area": {
        "index": 1,
        "orientation": "vertical",
        "children": {
          "video-controls": {
            "index": 0,
            "orientation": "horizontal",
            "id": "video-controls",
            "children": {
              "player-control-toggle": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "video-controls",
                "inputHandler": "VIDEO_CONTROLS",
                "id": "player-control-toggle",
                "index": 0
              },
              "player-control-cc": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "video-controls",
                "inputHandler": "VIDEO_CONTROLS",
                "id": "player-control-cc",
                "index": 1
              }
            },
            "parent": "video-area",
            "activeChild": "player-control-toggle"
          },
          "current-video": {
            "index": 1,
            "isFocusable": true,
            "id": "current-video",
            "parent": "video-area"
          },
          "settings-button": {
            "index": 2,
            "isFocusable": true,
            "id": "settings-button",
            "parent": "video-area"
          }
        },
        "id": "video-area",
        "parent": "root",
        "activeChild": "current-video"
      },
      "playlists": {
        "index": 2,
        "orientation": "vertical",
        "id": "playlists",
        "children": {
          "playlist-recent-placeholder": {
            "orientation": "horizontal",
            "parent": "playlists",
            "inputHandler": "STORY_BROWSER",
            "id": "playlist-recent-placeholder",
            "index": 0,
            "activeChild": "recent-placeholder-1",
            "children": {
              "recent-placeholder-1": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-recent-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "recent-placeholder-1",
                "index": 0
              },
              "recent-placeholder-2": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-recent-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "recent-placeholder-2",
                "index": 1
              },
              "recent-placeholder-3": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-recent-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "recent-placeholder-3",
                "index": 2
              },
              "recent-placeholder-4": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-recent-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "recent-placeholder-4",
                "index": 3
              },
              "recent-placeholder-5": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-recent-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "recent-placeholder-5",
                "index": 4
              },
              "recent-placeholder-6": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-recent-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "recent-placeholder-6",
                "index": 5
              },
              "recent-placeholder-7": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-recent-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "recent-placeholder-7",
                "index": 6
              },
              "recent-placeholder-8": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-recent-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "recent-placeholder-8",
                "index": 7
              },
              "recent-placeholder-9": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-recent-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "recent-placeholder-9",
                "index": 8
              },
              "recent-placeholder-10": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-recent-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "recent-placeholder-10",
                "index": 9
              }
            }
          },
          "playlist-florida-v-lewis-placeholder": {
            "orientation": "horizontal",
            "parent": "playlists",
            "inputHandler": "STORY_BROWSER",
            "id": "playlist-florida-v-lewis-placeholder",
            "index": 1,
            "activeChild": "florida-v-lewis-placeholder-1",
            "children": {
              "florida-v-lewis-placeholder-1": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-lewis-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-lewis-placeholder-1",
                "index": 0
              },
              "florida-v-lewis-placeholder-2": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-lewis-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-lewis-placeholder-2",
                "index": 1
              },
              "florida-v-lewis-placeholder-3": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-lewis-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-lewis-placeholder-3",
                "index": 2
              },
              "florida-v-lewis-placeholder-4": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-lewis-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-lewis-placeholder-4",
                "index": 3
              },
              "florida-v-lewis-placeholder-5": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-lewis-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-lewis-placeholder-5",
                "index": 4
              },
              "florida-v-lewis-placeholder-6": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-lewis-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-lewis-placeholder-6",
                "index": 5
              },
              "florida-v-lewis-placeholder-7": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-lewis-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-lewis-placeholder-7",
                "index": 6
              },
              "florida-v-lewis-placeholder-8": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-lewis-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-lewis-placeholder-8",
                "index": 7
              },
              "florida-v-lewis-placeholder-9": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-lewis-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-lewis-placeholder-9",
                "index": 8
              },
              "florida-v-lewis-placeholder-10": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-lewis-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-lewis-placeholder-10",
                "index": 9
              }
            }
          },
          "playlist-florida-v-carlton-placeholder": {
            "orientation": "horizontal",
            "parent": "playlists",
            "inputHandler": "STORY_BROWSER",
            "id": "playlist-florida-v-carlton-placeholder",
            "index": 2,
            "activeChild": "florida-v-carlton-placeholder-1",
            "children": {
              "florida-v-carlton-placeholder-1": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-carlton-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-carlton-placeholder-1",
                "index": 0
              },
              "florida-v-carlton-placeholder-2": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-carlton-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-carlton-placeholder-2",
                "index": 1
              },
              "florida-v-carlton-placeholder-3": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-carlton-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-carlton-placeholder-3",
                "index": 2
              },
              "florida-v-carlton-placeholder-4": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-carlton-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-carlton-placeholder-4",
                "index": 3
              },
              "florida-v-carlton-placeholder-5": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-carlton-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-carlton-placeholder-5",
                "index": 4
              },
              "florida-v-carlton-placeholder-6": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-carlton-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-carlton-placeholder-6",
                "index": 5
              },
              "florida-v-carlton-placeholder-7": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-carlton-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-carlton-placeholder-7",
                "index": 6
              },
              "florida-v-carlton-placeholder-8": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-carlton-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-carlton-placeholder-8",
                "index": 7
              },
              "florida-v-carlton-placeholder-9": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-carlton-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-carlton-placeholder-9",
                "index": 8
              },
              "florida-v-carlton-placeholder-10": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-carlton-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-carlton-placeholder-10",
                "index": 9
              }
            }
          },
          "playlist-florida-v-simpson-placeholder": {
            "orientation": "horizontal",
            "parent": "playlists",
            "inputHandler": "STORY_BROWSER",
            "id": "playlist-florida-v-simpson-placeholder",
            "index": 3,
            "activeChild": "florida-v-simpson-placeholder-1",
            "children": {
              "florida-v-simpson-placeholder-1": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-simpson-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-simpson-placeholder-1",
                "index": 0
              },
              "florida-v-simpson-placeholder-2": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-simpson-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-simpson-placeholder-2",
                "index": 1
              },
              "florida-v-simpson-placeholder-3": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-simpson-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-simpson-placeholder-3",
                "index": 2
              },
              "florida-v-simpson-placeholder-4": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-simpson-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-simpson-placeholder-4",
                "index": 3
              },
              "florida-v-simpson-placeholder-5": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-simpson-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-simpson-placeholder-5",
                "index": 4
              },
              "florida-v-simpson-placeholder-6": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-simpson-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-simpson-placeholder-6",
                "index": 5
              },
              "florida-v-simpson-placeholder-7": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-simpson-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-simpson-placeholder-7",
                "index": 6
              },
              "florida-v-simpson-placeholder-8": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-simpson-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-simpson-placeholder-8",
                "index": 7
              },
              "florida-v-simpson-placeholder-9": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-simpson-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-simpson-placeholder-9",
                "index": 8
              },
              "florida-v-simpson-placeholder-10": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-florida-v-simpson-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "florida-v-simpson-placeholder-10",
                "index": 9
              }
            }
          },
          "playlist-cosby-v-corkery-placeholder": {
            "orientation": "horizontal",
            "parent": "playlists",
            "inputHandler": "STORY_BROWSER",
            "id": "playlist-cosby-v-corkery-placeholder",
            "index": 4,
            "activeChild": "cosby-v-corkery-placeholder-1",
            "children": {
              "cosby-v-corkery-placeholder-1": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-cosby-v-corkery-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "cosby-v-corkery-placeholder-1",
                "index": 0
              },
              "cosby-v-corkery-placeholder-2": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-cosby-v-corkery-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "cosby-v-corkery-placeholder-2",
                "index": 1
              },
              "cosby-v-corkery-placeholder-3": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-cosby-v-corkery-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "cosby-v-corkery-placeholder-3",
                "index": 2
              },
              "cosby-v-corkery-placeholder-4": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-cosby-v-corkery-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "cosby-v-corkery-placeholder-4",
                "index": 3
              },
              "cosby-v-corkery-placeholder-5": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-cosby-v-corkery-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "cosby-v-corkery-placeholder-5",
                "index": 4
              },
              "cosby-v-corkery-placeholder-6": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-cosby-v-corkery-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "cosby-v-corkery-placeholder-6",
                "index": 5
              },
              "cosby-v-corkery-placeholder-7": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-cosby-v-corkery-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "cosby-v-corkery-placeholder-7",
                "index": 6
              },
              "cosby-v-corkery-placeholder-8": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-cosby-v-corkery-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "cosby-v-corkery-placeholder-8",
                "index": 7
              },
              "cosby-v-corkery-placeholder-9": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-cosby-v-corkery-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "cosby-v-corkery-placeholder-9",
                "index": 8
              },
              "cosby-v-corkery-placeholder-10": {
                "isFocusable": true,
                "orientation": "horizontal",
                "parent": "playlist-cosby-v-corkery-placeholder",
                "inputHandler": "STORY_BROWSER",
                "id": "cosby-v-corkery-placeholder-10",
                "index": 9
              }
            }
          }
        },
        "parent": "root",
        "activeChild": "playlist-recent-placeholder"
      }
    },
    "id": "root",
    "activeChild": "video-area"
  }
}

from lrud.

thomascgray avatar thomascgray commented on May 28, 2024

@jfrux could you also post the actual code of all your registerNode() calls, etc.? That might help us debug what's happening exactly.

Thanks for your patience on this!

from lrud.

thomascgray avatar thomascgray commented on May 28, 2024

@jfrux could we get the code sample of your registerNode() calls? Otherwise, I'll close this issue from lack of activity, and if you're still experiencing problems in future you could open a new issue 👍

from lrud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.