Skip to content

[Bug]: TV home screen focus requester #129

@Ramink78

Description

@Ramink78

Is there an existing issue for this?

  • I have searched the existing issues

Related app

TV - Android

What happened?

There is a bug that causes the TV app to crash when a lazy row is not in the first position and an attempt is made to focus on an item using the D-Pad or arrow keys on the keyboard

Relevant logcat output

java.lang.IllegalStateException: 
                    FocusRequester is not initialized. Here are some possible fixes:
                 
                    1. Remember the FocusRequester: val focusRequester = remember { FocusRequester() }
                    2. Did you forget to add a Modifier.focusRequester() ?
                    3. Are you attempting to request focus during composition? Focus requests should be made in
                    response to some event. Eg Modifier.clickable { focusRequester.requestFocus() }

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions