@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.
@@ -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 === 'block') {
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
  }