Skip to content

Bug: React dev tools inspect element of hover does not work on shadow elements #26200

@Biki-das

Description

@Biki-das

Using react while making a shadow DOM and then using react devtools inspect element feature does not work as expected video and codesandbox below

sandboxLink
https://stackblitz.com/edit/react-zqp67t?file=src/App.js

while attaching shadowroot

Mozilla.Firefox.2023-02-19.21-52-16.mp4

without attaching root

Mozilla.Firefox.2023-02-19.21-53-37.mp4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions