Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Carousel Component Swipe on Mobile

Avatar

Level 5

Hi All,

 

We have Proxy Carousel component with left, right buttons on Desktop to navigate for next slides, been implemented from core carousel component. Any feasible way of providing swipe option on Mobile devices instead of left/right button clicks on the component. Where exactly it needs to be taken care to achieve it.

 

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @rsl_lucky 

 

You will need to work along with frontend team to make this change.

First check if it can be achieved without changing the markup and by just adding few CSS property or by writing any JS.

 

If it cannot be done with existing markup, then you will need to modify the markup and update the proxy component so that the swipe functionality can be achieved.

 

Thanks!

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @rsl_lucky 

 

You will need to work along with frontend team to make this change.

First check if it can be achieved without changing the markup and by just adding few CSS property or by writing any JS.

 

If it cannot be done with existing markup, then you will need to modify the markup and update the proxy component so that the swipe functionality can be achieved.

 

Thanks!