OwlCarousel2/OwlCarousel2

Trigger resize, refresh, initialize aren't working

Open

#842 创建于 2015年5月21日

在 GitHub 查看
 (23 评论) (1 反应) (0 负责人)JavaScript (7,861 star) (2,315 fork)batch import
approved for developmentbugfeature requesthelp wanted

描述

Event triggers 'resize.owl.carousel' or 'refresh.owl.carousel' aren't working.

Responsive is working fine when you resize whole window, but when you resize only div container with owl slider - it has still prewious width. See example: http://jsfiddle.net/greguarr/x8hs2omz/2/

I try use path, by call resize window event. It's workind on modern browsers, but I don't know what how it works on others. There is example with this path: http://jsfiddle.net/greguarr/x8hs2omz/3/

贡献者指南

Trigger resize, refresh, initialize aren't working · OwlCarousel2/OwlCarousel2#842 | Good First Issue