From c564056d7e831834f846c2b8f2305287fbd18288 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Fri, 28 Jun 2024 12:15:36 -0400 Subject: [PATCH] fix(item-sliding): check for side attribute --- core/src/components/item-sliding/item-sliding.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/components/item-sliding/item-sliding.tsx b/core/src/components/item-sliding/item-sliding.tsx index a250b5e9bfe..12d2156fd29 100644 --- a/core/src/components/item-sliding/item-sliding.tsx +++ b/core/src/components/item-sliding/item-sliding.tsx @@ -262,7 +262,7 @@ export class ItemSliding implements ComponentInterface { // eslint-disable-next-line custom-rules/no-component-on-ready-method const option = (item as any).componentOnReady !== undefined ? await item.componentOnReady() : item; - const side = isEndSide(option.side) ? 'end' : 'start'; + const side = isEndSide(option.side ?? option.getAttribute('side')) ? 'end' : 'start'; if (side === 'start') { this.leftOptions = option;