Skip to content

Unable to use ComboBox in Table #7591

Closed as not planned
Closed as not planned
@jordankimsey

Description

Provide a general summary of the issue here

I am using the ComboBox component in React Aria's table component. When a user types the characters "t", "p", or "l" the tabindex of the row changes causing the ComboBox to close. This behavior does not occur when the user types any other characters in the field.

🤔 Expected Behavior?

A user should be able to type any character in the ComboBox including "t", "p", or "l" and the dropdown should remain open until the user selects an option from the dropdown.

😯 Current Behavior

Currently, when the ComboBox dropdown is open, and a user types any of the following characters, "t", "p" or "l" the dropdown closes. When a user types any of the keys the tabindex for the row is changed. This does not occur with any other characters.

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

I've attached a code sandbox below. Navigate to the last column in the table, press the dropdown to open the list of clients. With the list open type any of the following characters "p", "t", or "l". The ComboBox is closed. When you type any other characters the dropdown remains open.

https://codesandbox.io/p/sandbox/vigilant-microservice-5s27xw?file=%2Fsrc%2FApp.js%3A39%2C38

Version

1.5.0

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

If other, please specify.

No response

What operating system are you using?

Windows

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions