When inspecting an element such as a popover or dropdown menu, it often disappears when opening DevTools.
To prevent this from happening, we can emulate a focused page. This is very useful when working on the CSS of the
In DevTools open the command menu with
cmd + shift + p and select Emulate a focused page