Height problem when using direction: ‘vertical’ in swiper.js and its solution

There is a problem with using direction: 'vertical' in swiper.js, which results in incorrect height (e.g. very high).

The solution to this problem is to specify the height in swiper-container. For example, use 100vh.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top