@tarojs/components-react 3.3.15 → 3.3.19
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
|
@@ -10383,7 +10383,7 @@ var Swiper$1 = /*#__PURE__*/function (_React$Component2) {
|
|
|
10383
10383
|
var target = e.target;
|
|
10384
10384
|
var className = target && typeof target.className === 'string' ? target.className : '';
|
|
10385
10385
|
|
|
10386
|
-
if (className.includes('taro_page') && target.style.display
|
|
10386
|
+
if (className.includes('taro_page') && target.style.display !== 'none') {
|
|
10387
10387
|
if (that.props.autoplay && target.contains(_swiper.$el[0])) {
|
|
10388
10388
|
_swiper.slideTo(that._$current);
|
|
10389
10389
|
}
|