Skip to content

Commit

Permalink
fix(Affix): fix left offset not update after position change (#2370)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvelSQ committed Feb 24, 2022
1 parent 405a504 commit eba3536
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Affix/Affix.tsx
Expand Up @@ -117,7 +117,6 @@ const Affix: RsRefForwardingComponent<'div', AffixProps> = React.forwardRef(
const fixedStyles: React.CSSProperties = {
position: 'fixed',
top,
left: offset?.left,
width: offset?.width,
zIndex: 10
};
Expand Down

1 comment on commit eba3536

@vercel
Copy link

@vercel vercel bot commented on eba3536 Feb 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.