Devtools - Inspect Mode
See original GitHub issueDescription
Inside the developer tools inspect element, when selecting the option to preview the site using device toolbar. Setting the preset size to Laptop - 1024px
or any of the higher options (All presets below work normally) Hovering over any node in the elements UI will show the highlight/tooltip in the incorrect location not aligned with the selected node. Also occurring if the option to hover over the preview is enabled.
tl;dr - Enabling device toolbar, when setting tab to “Laptop” and above, hovering over any node – highlight/tooltip is not aligned correctly.
Steps to Reproduce
- Visit any site right click and select
inspect element
orctrl + shift + i
, once opened select the option toToggle device toolbar
. Once the preview pops up change the size toLaptop - 1024px
- Hover mouse over any node within the elements UI or enable the option next to device toolbar toggle which enables Hovering on elements directly in the preview.
- Hover over anything > Highlight is not aligned correctly to the element.
Actual result:
Brave
Expected result:
Chrome
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
Brave | 0.63.55 Chromium: 74.0.3729.131 (Official Build) (64-bit) |
---|---|
Revision | 518a41c1fa7ce1c8bb5e22346e82e42b4d76a96f-refs/branch-heads/3729@{#954} |
OS | Windows 10 OS Build 17763.475 |
Version/Channel Information:
Occurs on all channels (Release/Beta/Dev/Nightly)
Other Additional Information:
- Disabling/Enabling shields - No effect
- Brave rewards (Disabled)
- Not present in latest version of Chrome
Miscellaneous Information:
- Manually increasing the device size starting at mobile, issue does not occur at Laptop 1024px preset anything above will.
- If the preset is set at the size which it normally wouldn’t work is closed then re-opened issue does not occur.
- Does not occur unless toggle device toolbar is enabled.
- Node is being highlighted correctly in the elements UI when hovering on the preview.
Another issue with developer tools - #3199
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Open Chrome DevTools
Inspect. inspector mode. This mode shows you helpful tooltips when you hover over elements on a page. You can also click any element...
Read more >How to Inspect Element in Chrome | BrowserStack
Method 1: Inspect Element Using Chrome Developer Tools · Launch Chrome and navigate to the desired web page that needs to be inspected....
Read more >Inspecting Chrome Native UI with Chrome UI DevTools
Entering inspect mode by clicking on the arrow-in-box and hovering on any DOM node will show the corresponding UI Element in Chrome UI...
Read more >How to use the Chrome Inspector and Debugger - Washington
The Chrome Web Inspector and Debugger are conveniently built-in with Chrome. You can launch it by hitting F12 while in your browser or...
Read more >How To Inspect Element In Chrome using DevTools for ...
Chrome developer tools provide a feature called "DevTools Panel "or "Element Panel", using which we can inspect elements and modify them from ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Some extra info - This doesn’t seem to be related to
1024px
but rather, the inspector zoom. Anytime the zoom changes to anything but100%
, the inspector breaks.Working correctly on both macOS and Windows running latest release builds (0.65.118) @LaurenWags / @rebron