Skip to content

Commit

Permalink
♻️ Open Popover via control AND anchor (story)
Browse files Browse the repository at this point in the history
  • Loading branch information
pomfrida committed Oct 30, 2020
1 parent 92505cb commit f20f347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/storybook-react/stories/Popover.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const Default: Story<PopoverProps> = (args) => {
}
return (
<div style={{ margin: '10em' }}>
<Popover {...args} onClose={handleToggle} open={active}>
<Popover {...args} onClose={handleToggle} open={active || args.open}>
<PopoverAnchor>
<Button id="1" onClick={handleToggle}>
Click me!
Expand Down

0 comments on commit f20f347

Please sign in to comment.