-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
Description
On iOS, when you highlight/select some text, there are those little blue circle handles that someone can use to expand or contract the selection. Unfortunately that seems to completely break when <RemoveScroll /> is used as a mechanism to prevent scrolling of main content outside of a Dialog component made available by the Radix UI library.
Looks like this has been a longstanding bug since at least 2023 and reported a few different times in the radix repo, with no reply:
- Can't edit selection inside Dialog component (iOS) radix-ui/primitives#2492
- Unable to drag selection of input within Dialog component radix-ui/primitives#3331
- [bug]: Text selection handles on iOS are not responsive for Input components in Dialog shadcn-ui/ui#5919
While I recognize the issues is more the responsibility of the radix-ui maintainers, I'm opening this issue here in hopes that @theKashey or others can either:
- Indicate if the radix-ui library is using the
<RemoveScroll />incorrectly and you know what to do so I can contribute back, or; - Determine if ultimately it is a bug within how
<RemoveScroll />is implemented and a fix can be developed (or that it simply should not be used within radix-ui in the ways they've done so).
Thank you!
LordZardeck, ishan0102, emsitkowski, flavianh and TruffleClock