-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPDX-8116 - Fix Commitment Info - Infinity Scroll #1016
Conversation
Preview branch generated at https://MPDX-8116-fix-commitment-info-infinity-scroll.d3dytjb8adxkk5.amplifyapp.com |
Bundle sizes [mpdx-react]Compared against 40524d1 No significant changes found |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding infinite scroll! I have 98 items and when I scroll fast, the screen goes blank because rendering is taking 0.3s on same frames. I'm not sure why the rendered components are so costly to render. But that was a problem before this PR, so I'm approving.
@@ -107,6 +113,10 @@ export enum UpdateTypeEnum { | |||
Hide = 'HIDE', | |||
} | |||
|
|||
const ItemOverride: React.ComponentType<ItemProps> = (props) => ( | |||
<ItemWithBorders disableGutters disableHover={true} {...props} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<ItemWithBorders disableGutters disableHover={true} {...props} /> | |
<ItemWithBorders disableGutters disableHover {...props} /> |
Yeah it's not great, I tried playing around with it but couldn't get any better results. |
5a8f16e
to
058c433
Compare
cbd0b1d
to
4e78626
Compare
Description
Checklist: