Skip to content

Commit

Permalink
Fixed anchor scroll property for popovers.
Browse files Browse the repository at this point in the history
  • Loading branch information
charisTheo committed Jun 16, 2023
1 parent ddd40bb commit 4359e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function Popover({ text, id }) {
id={id}
style={{
anchorDefault: `--anchor-${id}`,
anchorScroll: `anchor(--anchor-${id})`,
anchorScroll: `--anchor-${id}`,
}}
>
<small>{text} popover</small>
Expand Down

0 comments on commit 4359e11

Please sign in to comment.