[android-components](../../index.md) / [mozilla.components.browser.menu2](../index.md) / [BrowserMenuController](index.md) / [dismiss](./dismiss.md)

# dismiss

`fun dismiss(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/menu2/src/main/java/mozilla/components/browser/menu2/BrowserMenuController.kt#L98)

Overrides [MenuController.dismiss](../../mozilla.components.concept.menu/-menu-controller/dismiss.md)

Dismiss the menu popup if the menu is visible.

