# Dropdown menu does not close when clicked outside iframe

**URL:** <https://community.developer.atlassian.com/t/dropdown-menu-does-not-close-when-clicked-outside-iframe/58671>\
**Category:** Jira Cloud\
**Tags:** react, dropdown, atlaskit\
**Created:** [May 27, 2022, 1:42pm UTC](https://community.developer.atlassian.com/t/dropdown-menu-does-not-close-when-clicked-outside-iframe/58671 "2022-05-27T13:42:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bogdanAndrushchenko](https://avatars.discourse-cdn.com/v4/letter/b/59ef9b/32.png) [@bogdanAndrushchenko](https://community.developer.atlassian.com/u/bogdanAndrushchenko)\
**Post date:** [May 27, 2022, 1:42pm UTC](https://community.developer.atlassian.com/t/dropdown-menu-does-not-close-when-clicked-outside-iframe/58671/1 "2022-05-27T13:42:31Z")

</div>

Hi, community.  
I have a Dropdown(Atlaskit React component) menu inside the iframe. When menu is open and user clicked inside iframe - the menu is closed. But when menu is open and the user clicked outside iframe menu does not close.  
How to fix it?
