Skip to content

Conversation

cmeiller
Copy link

@cmeiller cmeiller commented Sep 5, 2025

First of all, thank you for creating react-select!

Fixes #3232 & #5957
Superseed #4970

I fixed the #4970 PR from @Duarte10 to allow onMenuScrollToBottom function to be triggered using scrollbar with mouse dragged.

To fix the issue, we use a scroll listener, which requires changing the callback type from a WheelEvent to Event (which contains all WheelEvent, TouchEvent and UIEvent).

Copy link

changeset-bot bot commented Sep 5, 2025

⚠️ No Changeset found

Latest commit: b3d413c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codesandbox-ci bot commented Sep 5, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b3d413c:

Sandbox Source
react-codesandboxer-example Issue #3232

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.

onMenuScrollToBottom not fired on desktop when the scrollbar is mouse-dragged to the bottom
1 participant