dillon1000/react

Commit

Fix:- Fixed dev tools inspect mode on Shadow dom (#26888)

Fixes #26200 

### PR explanation

I tried to induce the change by the `event.composed` to check whether
the event was created in a ShadowRoot, And replaced `pointerOver` with
`pointerMove`, pointerOver event did not fired correctly

Before PR:-


https://github.com/facebook/react/assets/72331432/67a33dcd-447f-4c68-9c3c-ad954baddeb8

After PR:-


https://github.com/facebook/react/assets/72331432/9f986ff2-785f-4cba-a504-44f82ea9fc5a

---------

Co-authored-by: Biki das <[email protected]>
Browse files
Changed paths1 file
First-parent comparison
M packages/react-devtools-shared/src/backend/views/Highlighter/index.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…