Skip to content

How to delay opening link when navigation arrow gets disabled!? #7074

Answered by james0r
Voodoopupp asked this question in Q&A
Discussion options

You must be logged in to vote

@Voodoopupp You can do this with simple CSS.

By default, when a navigation arrow is in disabled state, the element receives the swiper-button-disabled class which includes the CSS property value

pointer-events: none;

This is a problem for you because it allows the click to be received by the link below it.

Add

.swiper-button-disabled {
pointer-events: all !important;
}

to once again receive click by the navigation arrow.

Demo

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Voodoopupp
Comment options

Answer selected by Voodoopupp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants