Skip to content

ComboBox's onBlur is not getting triggered for Mobile view #7737

@anusha-ukumar

Description

@anusha-ukumar

Provide a general summary of the issue here

The onBlur event for ComboBox does not trigger in Mobile view but functions as expected in Desktop view.

🤔 Expected Behavior?

The onBlur event gets triggered for both Desktop and Mobile views.

😯 Current Behavior

The onBlur event does not get triggered for Mobile view.

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

  1. Use the react-spectrum ComboBox component. Here is an example - https://codesandbox.io/p/sandbox/amazing-gianmarco-h79hfr?file=%2Fsrc%2FApp.js%3A13%2C11
  2. Change to mobile view to check if the onBlur event gets triggered.
  3. onBlur is not triggered for mobile view.

Version

@adobe/react-spectrum-3.30.0 @react-types/combobox-3.10.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

See the issue on all browsers

What operating system are you using?

macOS Sonoma - 14.2.1

🧢 Your Company/Team

Adobe - Unified checkout

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions