Carousel swipe should not prevent touch of other nested components

This commit is contained in:
Vladimir Enchev
2024-11-04 18:21:57 +02:00
parent a397c686b8
commit e312d71286

View File

@@ -23,9 +23,9 @@
Click=@Next/>
}
<ul class="rz-carousel-items"
@ontouchstart="OnTouchStart" @ontouchstart:stopPropagation @ontouchstart:preventDefault
@ontouchend="OnTouchEnd" @ontouchend:stopPropagation @ontouchend:preventDefault
@ontouchcancel="OnTouchCancel" @ontouchcancel:stopPropagation @ontouchcancel:preventDefault>
@ontouchstart="OnTouchStart"
@ontouchend="OnTouchEnd"
@ontouchcancel="OnTouchCancel">
@Items
</ul>
@if(AllowPaging && (PagerPosition == PagerPosition.Bottom || PagerPosition == PagerPosition.TopAndBottom))