react-select icon indicating copy to clipboard operation
react-select copied to clipboard

Fix scrollbar issue not triggering onMenuScrollToBottom

Open cmeiller opened this issue 1 year ago • 4 comments

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

Fixes https://github.com/JedWatson/react-select/issues/3232 & https://github.com/JedWatson/react-select/issues/5957 Superseed https://github.com/JedWatson/react-select/pull/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).

cmeiller avatar Sep 05 '25 08:09 cmeiller

⚠️ No Changeset found

Latest commit: b3d413cbf8b5dd908054ca5d8a1750ee9c878afc

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

changeset-bot[bot] avatar Sep 05 '25 08:09 changeset-bot[bot]

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 b3d413cbf8b5dd908054ca5d8a1750ee9c878afc:

Sandbox Source
react-codesandboxer-example Issue #3232

codesandbox-ci[bot] avatar Sep 05 '25 08:09 codesandbox-ci[bot]

We are waiting on this merge!

jacobsickels avatar Oct 22 '25 17:10 jacobsickels

Pinging this again, it would be great to get this merged!

jacobsickels avatar Apr 14 '26 16:04 jacobsickels