Open yazh21 opened 3 weeks ago
This isn't a bug. The four cards are not separate MudCarouselItem components. The arrows navigate between carousel items, and in this case you only have two carousel items, each with four cards. The most the component would currently do in mobile view is stack the cards vertically instead of horizontally.
You may be able to dynamically generate your carousel items based on breakpoints/screen size but that'll be custom logic for you to implement
@yazh21 here's a simplistic version of what I think you expect https://try.mudblazor.com/snippet/cYcIuywezvstrCSi
@yazh21 here's a simplistic version of what I think you expect https://try.mudblazor.com/snippet/cYcIuywezvstrCSi
But My requirement is On desktop view, it must show Each MudCarouselItem with 4 MudCards and On Mobile View, it must show Each MudCarouselItem with 1 MudCard other MudCards Should act like Another MudCarouselItem. Any Way to Achieve it?
Bug type
Component
Component name
MudCarousel
What happened?
In my code with MudCarousel which has 2 MudCarouselItem and inside each MudCarouselItem it has 4 MudCards. My problem is when I view this in mobile view then MudCarouselItem's First MudCard is only visible others goes hidden unable to access or see.
Expected behavior
In mobile view i want my Carousel to act like that it shows one mudcard and arrow click left/right it should show prevoius/Next mudcard accordingly(one Mudcard at a time). That is in Mobile View, I want to see only one Mudcard which should act like MudCarouselItem enable to access other Mudcards using Prevoius and Next arrows.
Reproduction link
https://try.mudblazor.com/snippet/cacSEScGqwfTCzEt
Reproduction steps
...
Relevant log output
No response
Version (bug)
6.19.1
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On which operating systems are you experiencing the issue?
Windows
Pull Request
Code of Conduct