cal.diy icon indicating copy to clipboard operation
cal.diy copied to clipboard

you cant scroll on mobile after opening a dialog or dropdown

Open PeerRich opened this issue 4 years ago • 6 comments

https://user-images.githubusercontent.com/8019099/161019695-1f97eea2-881a-49b1-b82c-eedf07c0526c.MOV

in order to scroll again, you need to change the focus. as long as the button that opened the dialog or dropdown has focus, you can't scroll

PeerRich avatar Mar 31 '22 09:03 PeerRich

I can confirm this behavior, I'm going to take a look at it to see if I can find a way to fix it.

miguelnietoa avatar Apr 05 '22 15:04 miguelnietoa

I still haven't found a way to solve this, can anyone come up with any ideas? 🤔

miguelnietoa avatar Apr 07 '22 14:04 miguelnietoa

Taking a guess here: But, this might have to do with the use of RemoveScroll in radix-ui's DialogOverlay or the implementation in Menu (used by the DropDown Primitive). Happy to give this a shot and see if it's something that can be fixed without a PR to the library itself.

Dueen avatar Apr 09 '22 17:04 Dueen

that would be great @Dueen, thank you!

PeerRich avatar Apr 09 '22 17:04 PeerRich

The issue is currently being worked on by Radix-UI radix-ui/primitives#1241

I'm assuming it's better to wait for them to close this issue and then bump the radix components

Dueen avatar Apr 14 '22 20:04 Dueen

Will radix be stable some day and perform mobile / touch device e2e tests ?

Aarbel avatar Jul 25 '22 14:07 Aarbel