question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Devtools - Inspect Mode

See original GitHub issue

Description

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

  1. Visit any site right click and select inspect element or ctrl + shift + i, once opened select the option to Toggle device toolbar. Once the preview pops up change the size to Laptop - 1024px
  2. 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.
  3. Hover over anything > Highlight is not aligned correctly to the element.

Actual result:

Brave ep6NJw5eO9

Expected result:

Chrome uJOAG7mMX1

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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
whoisarpitcommented, May 30, 2019

Some extra info - This doesn’t seem to be related to 1024px but rather, the inspector zoom. Anytime the zoom changes to anything but 100%, the inspector breaks.

image

1reaction
xanzhucommented, Jun 11, 2019

Working correctly on both macOS and Windows running latest release builds (0.65.118) @LaurenWags / @rebron

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found