mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
fix: tag animation demo (#32804)
This commit is contained in:
parent
852a451477
commit
5f642cbc9e
@ -89,9 +89,9 @@ class EditableTagGroup extends React.Component {
|
||||
type: 'from',
|
||||
duration: 100,
|
||||
}}
|
||||
onEnd={(e) => {
|
||||
if(e.type === 'appear' || e.type === 'enter') {
|
||||
e.targets.style = '';
|
||||
onEnd={e => {
|
||||
if (e.type === 'appear' || e.type === 'enter') {
|
||||
e.target.style = 'display: inline-block';
|
||||
}
|
||||
}}
|
||||
leave={{ opacity: 0, width: 0, scale: 0, duration: 200 }}
|
||||
|
Loading…
Reference in New Issue
Block a user