fix: tooltip position not correct
parent
a62a0296e7
commit
4cff2a81a6
|
@ -5,10 +5,10 @@ const getTransitionGroupProps = (transitionName, opt = {}) => {
|
|||
}
|
||||
const transitionProps = {
|
||||
appear: true,
|
||||
appearFromClass: `${transitionName}-appear`,
|
||||
appearFromClass: `${transitionName}-appear ${transitionName}-appear-prepare`,
|
||||
appearActiveClass: `${transitionName}`,
|
||||
appearToClass: `${transitionName}-appear-active`,
|
||||
enterFromClass: `${transitionName}-appear ${transitionName}-enter`,
|
||||
enterFromClass: `${transitionName}-appear ${transitionName}-enter ${transitionName}-appear-prepare ${transitionName}-enter-prepare`,
|
||||
enterActiveClass: `${transitionName}`,
|
||||
enterToClass: `${transitionName}-appear-active ${transitionName}-enter-active`,
|
||||
leaveActiveClass: `${transitionName} ${transitionName}-leave`,
|
||||
|
|
|
@ -4,10 +4,10 @@ const getTransitionProps = (transitionName, opt = {}) => {
|
|||
}
|
||||
const transitionProps = {
|
||||
appear: true,
|
||||
appearFromClass: `${transitionName}-appear`,
|
||||
appearFromClass: `${transitionName}-appear ${transitionName}-appear-prepare`,
|
||||
// appearActiveClass: `antdv-base-transtion`,
|
||||
appearToClass: `${transitionName}-appear ${transitionName}-appear-active`,
|
||||
enterFromClass: `${transitionName}-enter`,
|
||||
enterFromClass: `${transitionName}-enter ${transitionName}-enter-prepare`,
|
||||
// enterActiveClass: `antdv-base-transtion`,
|
||||
enterToClass: `${transitionName}-enter ${transitionName}-enter-active`,
|
||||
leaveFromClass: ` ${transitionName}-leave`,
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
transform: scale(0); // need this by yiminghe
|
||||
opacity: 0;
|
||||
animation-timing-function: @ease-out-circ;
|
||||
&-prepare {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
.@{className}-leave {
|
||||
animation-timing-function: @ease-in-out-circ;
|
||||
|
|
Loading…
Reference in New Issue