mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
fix: Tree with quick loadData
frozen the virtual scroll (#23581)
* update version * add deadline * clean up
This commit is contained in:
parent
d50cc55d87
commit
efbb2849dc
@ -9,6 +9,7 @@ interface Motion {
|
||||
motionEnter?: boolean;
|
||||
motionLeave?: boolean;
|
||||
motionLeaveImmediately?: boolean; // Trigger leave motion immediately
|
||||
motionDeadline?: number;
|
||||
removeOnLeave?: boolean;
|
||||
leavedClassName?: string;
|
||||
onAppearStart?: MotionFunc;
|
||||
@ -35,6 +36,7 @@ const collapseMotion: Motion = {
|
||||
onEnterActive: getRealHeight,
|
||||
onLeaveStart: getCurrentHeight,
|
||||
onLeaveActive: getCollapsedHeight,
|
||||
motionDeadline: 500,
|
||||
};
|
||||
|
||||
export default collapseMotion;
|
||||
|
@ -107,7 +107,7 @@
|
||||
"omit.js": "^1.0.2",
|
||||
"prop-types": "^15.7.2",
|
||||
"raf": "^3.4.1",
|
||||
"rc-animate": "~2.10.2",
|
||||
"rc-animate": "~2.11.0",
|
||||
"rc-cascader": "~1.0.0",
|
||||
"rc-checkbox": "~2.2.0",
|
||||
"rc-collapse": "~1.11.3",
|
||||
|
@ -6,8 +6,6 @@ const cheerio = require('cheerio');
|
||||
const glob = require('glob');
|
||||
const uniq = require('lodash/uniq');
|
||||
const { createServer } = require('http-server');
|
||||
const zhCN = require('../site/theme/zh-CN');
|
||||
const enUS = require('../site/theme/en-US');
|
||||
|
||||
const components = uniq(
|
||||
glob
|
||||
|
Loading…
Reference in New Issue
Block a user