mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Prevent event propagation on step_duration (#122039)
This commit is contained in:
parent
7e7319b007
commit
4c07aba4a2
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,8 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
import type { MouseEvent } from 'react';
|
||||
|
||||
import * as React from 'react';
|
||||
import { EuiButtonEmpty, EuiPopover } from '@elastic/eui';
|
||||
import { useMemo } from 'react';
|
||||
|
@ -55,6 +57,7 @@ export const StepDuration = ({
|
|||
|
||||
return (
|
||||
<EuiPopover
|
||||
onClick={(evt: MouseEvent<HTMLDivElement>) => evt.stopPropagation()}
|
||||
isOpen={durationPopoverOpenIndex === step.synthetics.step?.index}
|
||||
button={button}
|
||||
closePopover={() => setDurationPopoverOpenIndex(null)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue