You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have container (<ul>) that have many carousels inside of it.
The problem is: when you try to scroll down the parent element touching it, nothing happens. If you try to scroll using the mousewheel, it works fine.
What probably is happening is that the children carousels are capturing the touch action from the parent.
I tried using touch-action property from CSS to solve but it didn't work, but I believe that it would be the right way to solve it...
There's a video where I showcase the problem, and that I solve it when using pointer-events: none on the children in the parent (<ul>) element, but then I break the carousels as I can't slide/click then anymore.
Reproduction
not-scrollable-carousels-parent.mp4
Steps to reproduce
insert many carousels inside an element with constrained height, causing it to overflow.
this will cause the parent element to not be scrollable on mobile devices (using touches).
Which package is affected?
Headless Kit
Describe the bug
I have container (
<ul>
) that have many carousels inside of it.The problem is: when you try to scroll down the parent element touching it, nothing happens. If you try to scroll using the mousewheel, it works fine.
What probably is happening is that the children carousels are capturing the touch action from the parent.
I tried using
touch-action
property from CSS to solve but it didn't work, but I believe that it would be the right way to solve it...There's a video where I showcase the problem, and that I solve it when using
pointer-events: none
on the children in the parent (<ul>
) element, but then I break the carousels as I can't slide/click then anymore.Reproduction
not-scrollable-carousels-parent.mp4
Steps to reproduce
insert many carousels inside an element with constrained height, causing it to overflow.
this will cause the parent element to not be scrollable on mobile devices (using touches).
System Info
Additional Information
I couldn't reproduce on Stackblitz as it opens a repo using styled QwikUI, and carousels only exist on headless QwikUI...
Doing the equivalent using SwiperJS behaves as expected: the parent element is scrollable using touch, and also its children with carousels
The text was updated successfully, but these errors were encountered: