@momo-kits/carousel 0.0.24 → 0.0.32
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/CarouselV2.js +0 -2
- package/package.json +1 -1
package/CarouselV2.js
CHANGED
|
@@ -946,7 +946,6 @@ export default class Carousel extends React.PureComponent {
|
|
|
946
946
|
}
|
|
947
947
|
|
|
948
948
|
const offset = this._getItemScrollOffset(index);
|
|
949
|
-
console.log('index', index, offset)
|
|
950
949
|
|
|
951
950
|
if (offset === undefined) {
|
|
952
951
|
return;
|
|
@@ -971,7 +970,6 @@ export default class Carousel extends React.PureComponent {
|
|
|
971
970
|
if (animated) {
|
|
972
971
|
this._androidRepositioningTimeout = setTimeout(() => {
|
|
973
972
|
// Without scroll animation, the behavior is completely buggy...
|
|
974
|
-
console.log('vao roi nek')
|
|
975
973
|
this._repositionScroll(index, false);
|
|
976
974
|
}, 400); // Approximate scroll duration on Android
|
|
977
975
|
} else {
|