Skip to content

Commit c2f1465

Browse files
feat(item-sliding): improve full swipe animation separation
1 parent a247ac5 commit c2f1465

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/components/item-sliding/item-sliding.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ export class ItemSliding implements ComponentInterface {
812812

813813
if (
814814
hasExpandable &&
815-
(extraWidth >= IONIC_EXPAND_TRIGGER || Math.abs(velocityX) > IONIC_FULL_SWIPE_VELOCITY_THRESHOLD)
815+
(extraWidth >= IONIC_EXPAND_TRIGGER || (extraWidth > 0 && Math.abs(velocityX) > IONIC_FULL_SWIPE_VELOCITY_THRESHOLD))
816816
) {
817817
this.animateIonicFullSwipe(activeDirection).catch(() => {
818818
if (this.gesture) {

0 commit comments

Comments
 (0)