mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-13 13:48:59 +02:00
chore: fix interactive demo steps around constraint values
This commit is contained in:
parent
2629705501
commit
79878f9396
@ -105,7 +105,12 @@ export const DemoStepTooltip = ({
|
||||
|
||||
if (step.target === 'body') {
|
||||
return (
|
||||
<div {...tooltipProps}>
|
||||
<div
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
}}
|
||||
{...tooltipProps}
|
||||
>
|
||||
<StyledDialog
|
||||
open
|
||||
onClose={(_, r) => {
|
||||
@ -160,7 +165,12 @@ export const DemoStepTooltip = ({
|
||||
}
|
||||
|
||||
return (
|
||||
<StyledTooltip {...tooltipProps}>
|
||||
<StyledTooltip
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
}}
|
||||
{...tooltipProps}
|
||||
>
|
||||
<StyledCloseButton aria-label='close' onClick={onClose}>
|
||||
<CloseIcon />
|
||||
</StyledCloseButton>
|
||||
|
Loading…
Reference in New Issue
Block a user