From 37e6a49d72914232414a5263e6139a9e294df3f1 Mon Sep 17 00:00:00 2001 From: U29 Date: Wed, 23 Oct 2024 15:11:29 +0900 Subject: [PATCH] feat: add stopEvent property to ROverlay --- src/ROverlay.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ROverlay.tsx b/src/ROverlay.tsx index 098fe73e..b897055d 100644 --- a/src/ROverlay.tsx +++ b/src/ROverlay.tsx @@ -39,6 +39,8 @@ export interface ROverlayProps extends PropsWithChildren { autoPosition?: boolean; /** Called immediately on click */ onClick?: (event: MouseEvent) => void; + /** Stop event propagation */ + stopEvent?: boolean; } /** @@ -62,7 +64,8 @@ export class ROverlayBase

extends RlayersBase