mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
pointer-events: none to fix flicker on Overlay "tip"
If click-to-inspect then hover an element in just the right place, it flickers between two elements because this "tip" element catches the hover. This should fix it.
This commit is contained in:
@@ -58,6 +58,7 @@ export default class Overlay {
|
||||
'"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace',
|
||||
fontWeight: 'bold',
|
||||
padding: '3px 5px',
|
||||
pointerEvents: 'none',
|
||||
position: 'fixed',
|
||||
fontSize: '12px',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user