Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "lib/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"build": "rm -rf ./lib/* && yarn lint && tsc",
"build": "rm -rf ./lib/* && tsc",
"prepare": "yarn build",
"lint": "eslint 'src/**/*.ts?(x)' && prettier --list-different \"**/*.{json,md,js,jsx,ts,tsx}\"",
"prettier": "prettier --write \"{docs,examples,src}/**/*.{json,md,js,jsx,ts,tsx}\"",
Expand Down
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ const ModalizeBase = (
alwaysOpenValue: number | undefined,
dest: TOpen = 'default',
): void => {
dragY.setValue(0);
const { timing, spring } = openAnimationConfig;

(backButtonListenerRef as any).current = BackHandler.addEventListener(
Expand Down