diff --git a/static/app/views/dashboards/widgetCard/widgetFrame.tsx b/static/app/views/dashboards/widgetCard/widgetFrame.tsx index 6a0afac14447..11e571562f37 100644 --- a/static/app/views/dashboards/widgetCard/widgetFrame.tsx +++ b/static/app/views/dashboards/widgetCard/widgetFrame.tsx @@ -108,7 +108,10 @@ export function WidgetFrame(props: WidgetFrameProps) { { + e.stopPropagation(); + actions[0]!.onAction?.(); + }} to={actions[0]!.to} > {actions[0]!.label} @@ -117,7 +120,10 @@ export function WidgetFrame(props: WidgetFrameProps) { @@ -148,7 +154,8 @@ export function WidgetFrame(props: WidgetFrameProps) { aria-label={t('Copy Widget URL')} variant="transparent" icon={} - onClick={() => { + onClick={e => { + e.stopPropagation(); props.onCopyUrlClick?.(); }} /> @@ -161,7 +168,8 @@ export function WidgetFrame(props: WidgetFrameProps) { aria-label={t('Open Full-Screen View')} variant="transparent" icon={} - onClick={() => { + onClick={e => { + e.stopPropagation(); props.onFullScreenViewClick?.(); }} />