Skip to content

Commit

Permalink
fix: ScrollView isAnimation判断错误
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverEllipsis committed Aug 22, 2024
1 parent 3c6fb24 commit bc1b862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bui-core/src/ScrollView/ScrollView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const ScrollView = forwardRef<HTMLDivElement, ScrollViewProps>(

const handleScroll = useCallback(
(isInit = false) => {
const isAnimation = 'scrollWithAnimation' in props;
const isAnimation = props?.scrollWithAnimation;
// scrollIntoView
if (
scrollIntoView &&
Expand Down

0 comments on commit bc1b862

Please sign in to comment.