Skip to content

react-select v5.8.0: Extra attributes from the server: aria-activedescendant #5859

@zhouhua

Description

@zhouhua

When react-select is used in SSR, an error may occur during browser rendering: Extra attributes from the server: aria-activedescendant. This should be a hydration problem.

I think it's caused by this line of code:

'aria-activedescendant': this.isAppleDevice

It may be written in a useEffect to avoid differences in browser and server environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/bug-unconfirmedIssues that describe a bug that hasn't been confirmed by a maintainer yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions