weex icon indicating copy to clipboard operation
weex copied to clipboard

[H5]Slider component perform error if did't set 'interval' and 'auto-play' attr

Open LululuSir opened this issue 10 years ago • 1 comments

Slider component perform error if did't set 'interval' and 'auto-play' attributes. Just the moment i scroll the slider, it runs auto unexpectedly.

PS:Slider component can't used as root component.

LululuSir avatar Apr 27 '16 14:04 LululuSir

Hi,

The slider should not be used as a root component, and the root candidates contain div (container), list and scroller. If there is only a slider component in the page, just wrap it with a div as the page root.

The default value of auto-play should be false indeed. See Pull Request #320

MrRaindrop avatar May 20 '16 04:05 MrRaindrop