Height problem when using direction: ‘vertical’ in swiper.js and its solution 2023.7.19 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.