mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-04 13:48:56 +02:00
chore: fix interactive demo steps around constraint values (#10451)
https://linear.app/unleash/issue/2-3744/fix-interactive-demo-steps-around-constraint-values I noticed our interactive demo was broken around the constraint value steps. This isn't a great fix, but it at least allows us to complete the interactive demo for now.
This commit is contained in:
parent
2629705501
commit
91f138349e
@ -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