Hide next/prev button on first/last slide respectively #4348
Unanswered
BenHappyPlates
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I'm trying to do this with the following style rule but it doesn't seem to be working for me at the moment. swiper-container::part(button-prev)[aria-disabled=true],
swiper-container::part(button-next)[aria-disabled=true] {
display: none;
} See my code sandbox example. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good Day Ladies and Gentleman,
i'm using NextJS und Hooks and I'm trying to hide the navigation arrows if the active slide is the first or the last item in the array.
i read that there is a disabledClass and a hiddenClass but i'm not sure how to use them correctly
i'd really appreciate any advice
regards Ben
Beta Was this translation helpful? Give feedback.
All reactions