Title: SV Close Modal on Click Outside for Navigation Block
Author: straightvisions GmbH
Published: <strong>6. Februar 2023</strong>
Last modified: 24. Mai 2023

---

Search plugins

![](https://ps.w.org/sv-close-modal-on-click-outside-for-navigation-block/assets/
banner-772x250.png?rev=3119324)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/sv-close-modal-on-click-outside-for-navigation-block/assets/
icon-128x128.png?rev=3119324)

# SV Close Modal on Click Outside for Navigation Block

 By [straightvisions GmbH](https://profiles.wordpress.org/matthias-reuter/)

[Download](https://downloads.wordpress.org/plugin/sv-close-modal-on-click-outside-for-navigation-block.1.0.01.zip)

 * [Details](https://de-ch.wordpress.org/plugins/sv-close-modal-on-click-outside-for-navigation-block/#description)
 * [Reviews](https://de-ch.wordpress.org/plugins/sv-close-modal-on-click-outside-for-navigation-block/#reviews)
 *  [Installation](https://de-ch.wordpress.org/plugins/sv-close-modal-on-click-outside-for-navigation-block/#installation)
 * [Development](https://de-ch.wordpress.org/plugins/sv-close-modal-on-click-outside-for-navigation-block/#developers)

 [Support](https://wordpress.org/support/plugin/sv-close-modal-on-click-outside-for-navigation-block/)

## Description

The modal for the mobile menu of the navigation block is closed by default only 
when the burger icon is clicked. This single-purpose-plugin adds a small Javascript
snippet to the functionality so that the modal also closes when an area outside 
the menu is clicked.

### Features

We are a WordPress agency specialized to PageSpeed 100, so this plugin provides:

 * no bloat: single purpose plugin just doing it’s job
 * no bloat: loads frontend script only, when navigation block is in use on a page
 * no bloat: ~500 Bytes Minified Vanilla JS (no jQuery!)

### Team

 * Developed and maintenanced by [straightvisions GmbH](https://straightvisions.com)

### Missing a feature?

Please use the plugin support forum here on WordPress.org. We will add your wish–
if achievable – on our todo list. Please note that we can not give any time estimate
for that list or any feature request.

#### Paid Services

Nevertheless, feel free to contact our [WordPress Agency](https://straightvisions.com)
if you have any of the following needs:

 * get a customization
 * get a feature rapidly / on time
 * get a custom WordPress plugin or theme developed to exactly fit your needs.

## Installation

This plugin is build to work out-of-the-box. Installation is quite simple.

 1. Upload plugin-directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‚Plugins‘ menu in WordPress
 3. You are using a caching plugin? Don’t forget to flush caches now.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“SV Close Modal on Click Outside for Navigation Block” is open source software. 
The following people have contributed to this plugin.

Contributors

 *   [ straightvisions GmbH ](https://profiles.wordpress.org/matthias-reuter/)
 *   [ Matthias Bathke ](https://profiles.wordpress.org/matthiasbathke/)
 *   [ Dennis Heiden ](https://profiles.wordpress.org/dennisheiden/)

[Translate “SV Close Modal on Click Outside for Navigation Block” into your language.](https://translate.wordpress.org/projects/wp-plugins/sv-close-modal-on-click-outside-for-navigation-block)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/sv-close-modal-on-click-outside-for-navigation-block/),
check out the [SVN repository](https://plugins.svn.wordpress.org/sv-close-modal-on-click-outside-for-navigation-block/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/sv-close-modal-on-click-outside-for-navigation-block/)
by [RSS](https://plugins.trac.wordpress.org/log/sv-close-modal-on-click-outside-for-navigation-block/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.01

 * fix: aria-hidden support

#### 1.0.00

Initial Release

## Meta

 *  Version **1.0.01**
 *  Last updated **3 Jahren ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.1.1 or higher **
 *  Tested up to **6.2.14**
 *  PHP version ** 7.3 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/sv-close-modal-on-click-outside-for-navigation-block/)
 * Tags
 * [gutenberg](https://de-ch.wordpress.org/plugins/tags/gutenberg/)[modal](https://de-ch.wordpress.org/plugins/tags/modal/)
   [navigation](https://de-ch.wordpress.org/plugins/tags/navigation/)
 *  [Advanced View](https://de-ch.wordpress.org/plugins/sv-close-modal-on-click-outside-for-navigation-block/advanced/)

## Ratings

Es wurden noch keine Rezensionen eingereicht.

[Your review](https://wordpress.org/support/plugin/sv-close-modal-on-click-outside-for-navigation-block/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/sv-close-modal-on-click-outside-for-navigation-block/reviews/)

## Contributors

 *   [ straightvisions GmbH ](https://profiles.wordpress.org/matthias-reuter/)
 *   [ Matthias Bathke ](https://profiles.wordpress.org/matthiasbathke/)
 *   [ Dennis Heiden ](https://profiles.wordpress.org/dennisheiden/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/sv-close-modal-on-click-outside-for-navigation-block/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://straightvisions.com)