lrud icon indicating copy to clipboard operation
lrud copied to clipboard

A React library for managing focus in TV apps.

Results 10 lrud issues
Sort by recently updated
recently updated
newest added

When navigating through parent nodes while fetching nested child nodes, lrud loses focus of the fetched child nodes.

Hi, I would like to raise an issue I got in my project when using **lrud**: When we add elements into a existing list at a specific position (but not...

help wanted
question

This issue captures some discussion in other threads. - three kinds of components: `FocusScreen`, `FocusGroup`, `FocusNode`. - current nav algo involves nested `FocusGroup` and `FocusNode`. - new algo introduced: `SpatialScreen`....

enhancement
refactor
breaking

This PR adds some externally exposed types that may be useful using the library Eg: FocusNodeProps['onSelected'] when using `useCallback`

Here's the list of to-do's before I'd feel comfortable cutting a v1: - [x] More examples (#7 ) - [ ] Ensure types are accurate (#17 ) - [x] Tests...

task

See: - #29 - #98 - #70 - #18 - #17

See #70 For more context see the comments over #70 --- Todo: - [ ] Consider if all create events should freeze the tree - [ ] Make any necessary...

breaking

Using this library with Typescript, taking advantage of the wrapper element inside the `FocusNode`s currently triggers type errors when using `HTMLElement` props Ex (As per docs, using motion.div as custom...

bug
typescript

This will need a new Event type; `ActiveEvent` ``` interface ActiveEvent { prevActiveId: Id | null; nextActiveId: Id; prevActiveNode: Id | null; nextActiveNode: Node; } ```

enhancement

What values can be null?

task
typescript