Skip to content

docs: search loading causes layout shift #287

Open
@tryonelove

Description

@tryonelove

Describe the bug

While orama search is loading, it shows a spinner. However, at some point, the search input becomes hidden, causing layout shift

Steps to reproduce

Open https://tanstack.com/query/latest/docs/framework/react/overview and look at the search

CPU slowdown can be enabled for more obvious results

Expected result

No layout shift

Video

Screen.Recording.2024-10-12.at.12.03.04.mov

Metadata

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