# Freezing dropdown menu and other popup windows for inspection in browser developer tools

**URL:** <https://community.plotly.com/t/freezing-dropdown-menu-and-other-popup-windows-for-inspection-in-browser-developer-tools/85068>\
**Category:** Dash Python\
**Tags:** tips-and-tricks\
**Created:** [June 10, 2024, 8:08pm UTC](https://community.plotly.com/t/freezing-dropdown-menu-and-other-popup-windows-for-inspection-in-browser-developer-tools/85068 "2024-06-10T20:08:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tobs](https://avatars.discourse-cdn.com/v4/letter/t/6de8d8/32.png) [@Tobs](https://community.plotly.com/u/Tobs)\
**Post date:** [June 10, 2024, 8:08pm UTC](https://community.plotly.com/t/freezing-dropdown-menu-and-other-popup-windows-for-inspection-in-browser-developer-tools/85068/1 "2024-06-10T20:08:50Z")

</div>

Ever been annoyed not being able to inspect parts of your dash apps Elements tree through the developer tools in your browser? I have when trying to understand the CSS styling of a dropdown menu.

Take for example the following `dcc.Dropdown`, when the menu is open, the Elements tree shows the `Select-menu-outer` div. To inspect it, you would click the div in the tree. However, the menu disappears and so does the div element, not allowing you to inspect it.

 ![dropdown_menu_outer_class](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/7/8/788ec2867916871657e8769e40f68e93b67f39bd.png)

Luckily, you can stop the behavior that the dropdown menu disappears, as explained in this [stackoverflow post](https://stackoverflow.com/questions/29386116/inspecting-drop-down-menus-in-new-chrome).

The steps are quite easy:

1. Select the `dash-dropdown` component in the Elements tree
2. Go to the `Event Listeners` tab in the Styles window that opens
3. Unfold the `Blur` (or `focusout` as alternative) event listener and click the remove button to delete it.
4. The dropdown menu will now stay open when clicking the element in the Elements tree

I hope this small tip helps save you some frustration!

---

<div class="post-metadata">

**Author:** ![AnnMarieW](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@AnnMarieW](https://community.plotly.com/u/AnnMarieW)\
**Post date:** [June 10, 2024, 8:37pm UTC](https://community.plotly.com/t/freezing-dropdown-menu-and-other-popup-windows-for-inspection-in-browser-developer-tools/85068/2 "2024-06-10T20:37:28Z")

</div>

@Tobs - This is such a great tip - Thanks for sharing 🎉
