-
+
+
+ {
+ // do not close the popup when focus outside (like focus in the editor)
+ e.preventDefault();
+ }}
+ onPointerDownOutside={e => {
+ // do not close the popup when clicking outside (like clicking at the sidebar)
+ e.preventDefault();
+ }}
+ >
+