Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable focus for cells without an onTap handler #287

Open
jessimb opened this issue Jun 20, 2024 · 0 comments
Open

Disable focus for cells without an onTap handler #287

jessimb opened this issue Jun 20, 2024 · 0 comments

Comments

@jessimb
Copy link

jessimb commented Jun 20, 2024

We have a DataTable2 with DataRow2s made up of DataCells. The DataRow2 has an onTap handler. Only one of the cells has anything interactable (a button), the other cells are readonly text.

When i try to tab through the table, i have to hit tab on each cell before focus moves to the next row. Notably, the cells have no specific focus state, so I have to hit tab 4 times (for 3 cells) for anything visual to happen.

Ideally, focus would skip any cells that don't have interaction. So I would hit tab to go to the next row, tab again would go to the button (skipping the text), tab again to the next row and so on.

As it stands I'm not able to exclude focus for datacells, so I'm not sure how I can do this myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant