# Close the Popup by Clicking Outside

## Environment

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

## Description

How can I close the Popup by clicking outside?

## Solution

Attach a global click handler that checks if the clicked element is the Popup and then close it programmatically:

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