Skip to content

[bug]: Searching breaks Copying in the page #9242

@msanchezdev

Description

@msanchezdev

Describe the bug

This feature in the Search Box seems to remain active even after the search box is closed. So trying to copy anything in the page with Ctrl/Cmd + C will copy the command suggested by the search box

Image

Affected component/components

Docs Website

How to reproduce

  1. Try searching for a component (Notice the suggestion for Ctrl+ C at the bottom of the search box)
  2. Close search
  3. Try to copy anything

Opening the search box without searching for anything will make Ctrl + C clear the clipboard instead

Codesandbox/StackBlitz link

No response

Logs

System Info

Google Chrome 143.0.7499.170 (Official Build) (64-bit) (cohort: Stable)

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

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