bbc / lrud

Left, Right, Up, Down. A spatial navigation library for devices with input via directional controls.
Apache License 2.0
98 stars 21 forks source link

Having an issue in my app related to LRUD clearing `currentFocusNode` #60

Open jfrux opened 4 years ago

jfrux commented 4 years ago

I'm unsure why this is causing an issue all of a sudden for my newest refactor but the only thing that fixed my app was to comment out these 3 lines.

Been bashing my head against my desk all day trying to figure out what was causing my app to lose focus. I'm sure it's something I could avoid by doing things differently but figured I'd still bring it to your attention in case that isn't getting into code coverage or something.

https://github.com/bbc/lrud/blob/a6faaaef40293f789f2d55f9e843bb7d7719472a/src/index.ts#L42

Let me know if there is anything I can test for you on my end.