fix: slide up animate #4909

close #4909
pull/4942/head
tangjinzhou 2021-11-28 10:00:17 +08:00
parent 7df7d788f8
commit cf4ab5470c
4 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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(''),
});

View File

@ -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,