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') {
|
if (step.target === 'body') {
|
||||||
return (
|
return (
|
||||||
<div {...tooltipProps}>
|
<div
|
||||||
|
onClick={(e) => {
|
||||||
|
e.stopPropagation();
|
||||||
|
}}
|
||||||
|
{...tooltipProps}
|
||||||
|
>
|
||||||
<StyledDialog
|
<StyledDialog
|
||||||
open
|
open
|
||||||
onClose={(_, r) => {
|
onClose={(_, r) => {
|
||||||
@ -160,7 +165,12 @@ export const DemoStepTooltip = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<StyledTooltip {...tooltipProps}>
|
<StyledTooltip
|
||||||
|
onClick={(e) => {
|
||||||
|
e.stopPropagation();
|
||||||
|
}}
|
||||||
|
{...tooltipProps}
|
||||||
|
>
|
||||||
<StyledCloseButton aria-label='close' onClick={onClose}>
|
<StyledCloseButton aria-label='close' onClick={onClose}>
|
||||||
<CloseIcon />
|
<CloseIcon />
|
||||||
</StyledCloseButton>
|
</StyledCloseButton>
|
||||||
|
Loading…
Reference in New Issue
Block a user