fix(popper): Fix popper transition lost bug (#1190)

- Fix popper transition lost issue
This commit is contained in:
jeremywu 2021-01-04 14:59:09 +08:00 committed by GitHub
parent ce4f3078c0
commit ae5dcec1e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,8 @@ const _Popper: SFCWithInstall<typeof Popper> = Popper
export default _Popper
export { default as defaultProps, Effect, Placement, Options } from './src/use-popper/defaults'
export { default as defaultProps, Effect } from './src/use-popper/defaults'
export type { Placement, Options } from '@popperjs/core'
export type { TriggerType, IPopperOptions, PopperInstance } from './src/use-popper/defaults'
export { default as usePopper } from './src/use-popper/index'
export * from './src/renderers/index'

View File

@ -4,9 +4,9 @@
.fade-in-linear-leave-active {
transition: $--fade-linear-transition;
}
.fade-in-linear-enter-from,
.fade-in-linear-leave-from,
.fade-in-linear-leave-active {
.fade-in-linear-leave-to {
opacity: 0;
}
@ -15,8 +15,7 @@
transition: $--fade-linear-transition;
}
.el-fade-in-linear-enter-from,
.el-fade-in-linear-leave-from,
.el-fade-in-linear-leave-active {
.el-fade-in-linear-leave-to {
opacity: 0;
}