@momo-kits/carousel 0.0.53-beta.14 → 0.0.53-beta.18

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.
Files changed (2) hide show
  1. package/CarouselV2.js +1 -10
  2. package/package.json +1 -1
package/CarouselV2.js CHANGED
@@ -1185,7 +1185,6 @@ export default class Carousel extends React.PureComponent {
1185
1185
  style,
1186
1186
  useExperimentalSnap,
1187
1187
  disableIntervalMomentum,
1188
- vertical,
1189
1188
  } = this.props;
1190
1189
 
1191
1190
  const containerStyle = [
@@ -1214,15 +1213,7 @@ export default class Carousel extends React.PureComponent {
1214
1213
  };
1215
1214
 
1216
1215
  const contentContainerStyle = [
1217
- vertical
1218
- ? {
1219
- paddingTop: this._getContainerInnerMargin(),
1220
- paddingBottom: this._getContainerInnerMargin(true),
1221
- }
1222
- : {
1223
- paddingLeft: this._getContainerInnerMargin(),
1224
- paddingRight: this._getContainerInnerMargin(true),
1225
- },
1216
+ !useExperimentalSnap ? innerMarginStyle : {},
1226
1217
  contentContainerCustomStyle || {},
1227
1218
  ];
1228
1219
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/carousel",
3
- "version": "0.0.53-beta.14",
3
+ "version": "0.0.53-beta.18",
4
4
  "private": false,
5
5
  "main": "index.js",
6
6
  "dependencies": {