axtutuu / vue-swipeable-bottom-sheet

MIT License
46 stars 15 forks source link

props:openY、halfY #10

Open KobeBryant824 opened 3 years ago

KobeBryant824 commented 3 years ago

It‘s don't set the props in the Vue?Can you solve the problem?Thanks.

axtutuu commented 3 years ago

openY and halfY is used by here https://github.com/atsutopia/vue-swipeable-bottom-sheet/blob/master/src/components/SwipeableBottomSheet.vue#L111-L114

abhishek97 commented 3 years ago

@atsutopia The build on NPM seems to be of older version than source. Can you please rebuild and publish new version again?

Do a Cmd+F on dist file for 'openY' you wont find it, but you'll find 'startY'. I assuming the prop names must be preserved somewhere in built files even after webpack is done with it.

For now, sepcify git version in package.json fixes it

    "vue-swipeable-bottom-sheet": "git://github.com/atsutopia/vue-swipeable-bottom-sheet.git",