PR
TIPS

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.

Comment

Copied title and URL