mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
fix(popper): Fix popper transition lost bug (#1190)
- Fix popper transition lost issue
This commit is contained in:
parent
ce4f3078c0
commit
ae5dcec1e8
@ -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'
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user