Skip to content

Bump react-remove-scroll to 2.7.2 for iOS text selection fix in Dialog#3802

Open
f3ndot wants to merge 3 commits intoradix-ui:mainfrom
f3ndot:bump-react-remove-scroll
Open

Bump react-remove-scroll to 2.7.2 for iOS text selection fix in Dialog#3802
f3ndot wants to merge 3 commits intoradix-ui:mainfrom
f3ndot:bump-react-remove-scroll

Conversation

@f3ndot
Copy link

@f3ndot f3ndot commented Feb 4, 2026

Description

There has been a subtle long-standing bug expressed in Radix dialogs (and perhaps other primitives) due to the react-remove-scroll dependency. iOS users are unable to move the text selection handles within a dialog box. This was reported theKashey/react-remove-scroll#130 and fixed in theKashey/react-remove-scroll#144.

This was also reported to this repo by a few people over the years:

Fixes #2492
Fixes #3331

Bumping the react-remove-scroll version to 2.7.2 applies the fix. I confirmed by putting some inputs in the Dialog Storybook, and selecting text with my iOS 26 iPhone:

ScreenRecording_02-04-2026.15-00-23_1.mov

@changeset-bot
Copy link

changeset-bot bot commented Feb 4, 2026

🦋 Changeset detected

Latest commit: cdadc4a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 14 packages
Name Type
@radix-ui/react-dismissable-layer Patch
@radix-ui/react-popover Patch
@radix-ui/react-dialog Patch
@radix-ui/react-select Patch
@radix-ui/react-menu Patch
@radix-ui/react-hover-card Patch
@radix-ui/react-navigation-menu Patch
radix-ui Patch
@radix-ui/react-toast Patch
@radix-ui/react-tooltip Patch
@radix-ui/react-alert-dialog Patch
@radix-ui/react-context-menu Patch
@radix-ui/react-dropdown-menu Patch
@radix-ui/react-menubar Patch

Not sure what this means? Click here to learn what changesets are.

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

@f3ndot
Copy link
Author

f3ndot commented Feb 4, 2026

Thank you @maiconcarraro for the original fix. Hoping to roll it into the radix-ui primitives here.

@maiconcarraro
Copy link

Happy to contribute!

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.

Unable to drag selection of input within Dialog component Can't edit selection inside Dialog component (iOS)

2 participants