From 22957436e81f5e7224aaa18882299069f238d08c Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 29 Nov 2019 17:38:29 -0500 Subject: [PATCH] chore: default transition css prop to true --- packages/runtime-dom/src/components/Transition.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/runtime-dom/src/components/Transition.ts b/packages/runtime-dom/src/components/Transition.ts index b3f9685d6..e5353004a 100644 --- a/packages/runtime-dom/src/components/Transition.ts +++ b/packages/runtime-dom/src/components/Transition.ts @@ -41,9 +41,10 @@ export const TransitionPropsValidators = { ...(BaseTransition as any).props, name: String, type: String, - // Cannot use Boolean otherwise it will be force casted to false when - // omitted - css: null, + css: { + type: Boolean, + default: true + }, duration: Object, enterFromClass: String, enterActiveClass: String,