vertical: true with "unslick" mode make big height of box (empty space)
未关闭
- 主要语言
- JavaScript
- 星标
- 11.9k
- 派生
- 2.1k
- PR 合并指标
- 30 天内没有已合并 PR
描述

Example: https://codesandbox.io/s/react-slick-playground-forked-jcn3k?file=/index.js
This bug because:
1. Missed `style: listStyle` here (`slick-list` without any limit):
```javascript
if (this.props.unslick) {
listProps = { className: "slick-list" };
innerSliderProps = { className };
}
```
2. Wrong calculation here for `vertical && unslick`, because no cloned items here:
```javascript
const trackChildren = spec.slideCount + 2 * spec.slidesToShow;
```
贡献指南
评估
这个 Issue 还没有评估数据。