# Close the Popup on Blur

## Environment

<table>
	<tbody>
		<tr>
			<td>Product Version</td>
			<td>3.0.0</td>
		</tr>
		<tr>
			<td>Product</td>
			<td>Progress® KendoReact Popup</td>
		</tr>
	</tbody>
</table>

## Description

How the close the Popup when clicking outside of it?

## Solution

This can be done by:

1. Add a focusable container in the Popup (the Popup has no tabIndex by default).
2. Focus the focusable container when the Popup is opened.
3. On the `onBlur` event of that element close the Popup.

This is an example showcasing this:

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/popup/close-on-blur/source.txt)
