Skip to content

Bug: Hover highlight in interactive code example overlaps the preview content #37933

Open
reactjs/react.dev
#8708

Description

@Smriti-N

Description

I noticed a potential UI issue on the React documentation homepage: https://react.dev/

Steps to reproduce

  1. Open https://react.dev/.
  2. Scroll to the interactive code example showing the Video component.
  3. Hover over a line in the code editor, such as {video.description}.
  4. Observe the corresponding highlighted area in the preview on the right.

Expected behavior

The hover highlight should remain within the intended area and should not obscure the preview's title, description, or other content.

Actual behavior

The highlighted area appears to extend across the right-side preview and overlap its content, making the preview visually cluttered.

Environment

Screenshot: Attached for reference.

Image

Activity

  1. added a commit that references this issue on Oct 21, 2026
  2. KaustAbhinand commented on Oct 22, 2026

    @KaustAbhinand

    Hi are you working on submitting a PR for this? Or could I take it up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UnconfirmedA potential issue that we haven't yet confirmed as a bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions