Skip to content

Commit

Permalink
Fix: Resolve dual scrollbar issue and flickering on initial load
Browse files Browse the repository at this point in the history
  • Loading branch information
LofiSu committed Jan 18, 2025
1 parent 5380eb5 commit 28c02ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/conversations/demo/infinite-load.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const App: React.FC = () => {
height: 600,
background: token.colorBgContainer,
borderRadius: token.borderRadius,
overflow: 'scroll',
overflow: 'auto',
};

const loadMoreData = () => {
Expand Down Expand Up @@ -59,6 +59,7 @@ const App: React.FC = () => {
}
endMessage={<Divider plain>It is all, nothing more 🤐</Divider>}
scrollableTarget="scrollableDiv"
style={{ overflow: 'hidden' }}
>
<Conversations items={data} defaultActiveKey="demo1" groupable />
</InfiniteScroll>
Expand Down

0 comments on commit 28c02ec

Please sign in to comment.