diff --git a/components/auto-complete/index.tsx b/components/auto-complete/index.tsx index e9998420b..8c9665920 100644 --- a/components/auto-complete/index.tsx +++ b/components/auto-complete/index.tsx @@ -34,7 +34,7 @@ const AutoComplete = defineComponent({ ...autoCompleteProps, prefixCls: PropTypes.string, showSearch: PropTypes.looseBool, - transitionName: PropTypes.string.def('slide-up'), + transitionName: PropTypes.string.def('ant-slide-up'), choiceTransitionName: PropTypes.string.def('zoom'), autofocus: PropTypes.looseBool, backfill: PropTypes.looseBool, diff --git a/components/cascader/index.tsx b/components/cascader/index.tsx index 21af87889..392a24fe8 100644 --- a/components/cascader/index.tsx +++ b/components/cascader/index.tsx @@ -113,7 +113,7 @@ const cascaderProps = { // onChange?: (value: string[], selectedOptions?: CascaderOptionType[]) => void; /** 选择后展示的渲染函数 */ displayRender: PropTypes.func, - transitionName: PropTypes.string.def('slide-up'), + transitionName: PropTypes.string.def('ant-slide-up'), popupStyle: PropTypes.object.def(() => ({})), /** 自定义浮层类名 */ popupClassName: PropTypes.string, diff --git a/components/select/index.tsx b/components/select/index.tsx index f5165ab68..18f3559af 100644 --- a/components/select/index.tsx +++ b/components/select/index.tsx @@ -37,7 +37,7 @@ export const selectProps = () => ({ size: PropTypes.oneOf(tuple('small', 'middle', 'large', 'default')), mode: PropTypes.oneOf(tuple('multiple', 'tags', 'SECRET_COMBOBOX_MODE_DO_NOT_USE')), bordered: PropTypes.looseBool.def(true), - transitionName: PropTypes.string.def('slide-up'), + transitionName: PropTypes.string.def('ant-slide-up'), choiceTransitionName: PropTypes.string.def(''), }); diff --git a/components/tree-select/index.tsx b/components/tree-select/index.tsx index 12d63d4ca..ffbe5cf73 100644 --- a/components/tree-select/index.tsx +++ b/components/tree-select/index.tsx @@ -57,7 +57,7 @@ const TreeSelect = defineComponent({ name: 'ATreeSelect', inheritAttrs: false, props: initDefaultProps(treeSelectProps, { - transitionName: 'slide-up', + transitionName: 'ant-slide-up', choiceTransitionName: '', listHeight: 256, treeIcon: false,