Skip to content

Commit cf4ab54

Browse files
committed
fix: slide up animate #4909
close #4909
1 parent 7df7d78 commit cf4ab54

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

components/auto-complete/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const AutoComplete = defineComponent({
3434
...autoCompleteProps,
3535
prefixCls: PropTypes.string,
3636
showSearch: PropTypes.looseBool,
37-
transitionName: PropTypes.string.def('slide-up'),
37+
transitionName: PropTypes.string.def('ant-slide-up'),
3838
choiceTransitionName: PropTypes.string.def('zoom'),
3939
autofocus: PropTypes.looseBool,
4040
backfill: PropTypes.looseBool,

components/cascader/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const cascaderProps = {
113113
// onChange?: (value: string[], selectedOptions?: CascaderOptionType[]) => void;
114114
/** 选择后展示的渲染函数 */
115115
displayRender: PropTypes.func,
116-
transitionName: PropTypes.string.def('slide-up'),
116+
transitionName: PropTypes.string.def('ant-slide-up'),
117117
popupStyle: PropTypes.object.def(() => ({})),
118118
/** 自定义浮层类名 */
119119
popupClassName: PropTypes.string,

components/select/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const selectProps = () => ({
3737
size: PropTypes.oneOf(tuple('small', 'middle', 'large', 'default')),
3838
mode: PropTypes.oneOf(tuple('multiple', 'tags', 'SECRET_COMBOBOX_MODE_DO_NOT_USE')),
3939
bordered: PropTypes.looseBool.def(true),
40-
transitionName: PropTypes.string.def('slide-up'),
40+
transitionName: PropTypes.string.def('ant-slide-up'),
4141
choiceTransitionName: PropTypes.string.def(''),
4242
});
4343

components/tree-select/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const TreeSelect = defineComponent({
5757
name: 'ATreeSelect',
5858
inheritAttrs: false,
5959
props: initDefaultProps(treeSelectProps, {
60-
transitionName: 'slide-up',
60+
transitionName: 'ant-slide-up',
6161
choiceTransitionName: '',
6262
listHeight: 256,
6363
treeIcon: false,

0 commit comments

Comments
 (0)