Skip to content

Conversation

@zerts
Copy link
Collaborator

@zerts zerts commented Aug 26, 2025

In this PR

  • Hide scrollbar for Global Stats in Asset Page
  • Add ability to drag this list with mouse
  • Transform HStack into forwardRef

premiumStatus={premiumStatus}
pnlIsSupported={!addrIsSolana}
/>
<VStack gap={8}>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added this to expand draggable area around the stats list.

@github-actions
Copy link

github-actions bot commented Aug 26, 2025

📦 build.zip [updated at Sep 1, 2:28:19 PM UTC]

@zerts zerts requested a review from everdimension August 26, 2025 09:55
ref={containerRef}
gap={8}
className={styles.statsContainer}
style={{ paddingBlock: 16 }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Padding to expand the draggable area

/>
);
};
export const HStack = React.forwardRef<
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The only change here is a wrap into forwardRef

Copy link
Contributor

@everdimension everdimension left a comment

Choose a reason for hiding this comment

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

I don't see why we need click-and-drag here
CSS scrolling solution should be enough

@zerts zerts force-pushed the bug/extension-remove-scroll-for-asset-stats-WLT-8140 branch from 5181655 to 1a768e0 Compare September 1, 2025 13:44
@zerts zerts force-pushed the bug/extension-remove-scroll-for-asset-stats-WLT-8140 branch from 1a768e0 to 0d1f7ba Compare September 1, 2025 14:26
@zerts zerts merged commit 5d91679 into main Sep 5, 2025
3 checks passed
@zerts zerts deleted the bug/extension-remove-scroll-for-asset-stats-WLT-8140 branch September 5, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants