@tarojs/components-react 3.5.0-canary.0 → 3.5.0-canary.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/swiper/index.js +1 -1
- package/dist/swiper/index.js.map +1 -1
- package/package.json +4 -4
package/dist/swiper/index.js
CHANGED
|
@@ -10378,7 +10378,7 @@ var Swiper = /*#__PURE__*/function (_React$Component2) {
|
|
|
10378
10378
|
var target = e.target;
|
|
10379
10379
|
var className = target && typeof target.className === 'string' ? target.className : '';
|
|
10380
10380
|
|
|
10381
|
-
if (className.includes('taro_page') && target.style.display
|
|
10381
|
+
if (className.includes('taro_page') && target.style.display !== 'none') {
|
|
10382
10382
|
if (that.props.autoplay && target.contains(_swiper.$el[0])) {
|
|
10383
10383
|
_swiper.slideTo(that._$current);
|
|
10384
10384
|
}
|