Skip to content

ComboBox - Sequential focus of two fields breaks popup #7634

Closed
@ivanesik

Description

@ivanesik

Provide a general summary of the issue here

If you trigger the popover of one ComboBox while the popover of another is open, the popover will only blinks, but does not show until you click it again.

🤔 Expected Behavior?

In state when first ComboBox is in focus with opened Popover, click on second ComboBox should close first one and open second (or just close first one), without blinks of popovers.

😯 Current Behavior

Popover of second/first ComboBox just blinks

Screen-Recording-2025-01-19-at-20.51.25.webm

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

  1. On real phone/iPhone simulator/Android Simulator (not desktop browser with emulation) open https://react-spectrum.adobe.com/react-aria/ComboBox.html#selection (Selection example)
  2. Trigger first one ComboBox by Trigger Button or typing in Input
  3. Without selection value or another way of popover closing, trigger second one ComboBox
  4. May repeat by triggering first one

Version

1.5.0

What browsers are you seeing the problem on?

Safari, Chrome

If other, please specify.

No response

What operating system are you using?

iOS 18.1

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions