Skip to content

MobileSearchAutocomplete: focused style persists on blur #3800

@majornista

Description

@majornista

🐛 Bug Report

With the MobileSearchAutocomplete, the focused style persists on blur.

🤔 Expected Behavior

Focused style should be removed on blur.

😯 Current Behavior

With the MobileSearchAutocomplete, the focused style persists on blur.

💁 Possible Solution

Reorder focusProps so that it comes after buttonProps at

{...mergeProps(hoverProps, focusProps, buttonProps)}

🔦 Context

Recognized as an issue working on #3383, but can be reproduced using Storybook examples and the Responsive Design feature within Developer Tools.

💻 Code Sample

🌍 Your Environment

Software Version(s)
react-spectrum @react-spectrum/autocomplete@3.0.0-alpha.12
Browser Chrome
Operating System macOS

🧢 Your Company/Team

Adobe/Accessibility

🕷 Tracking Issue (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions