Browse Source

fix: Popover transition miss (#42352)

pull/42357/head
二货爱吃白萝卜 2 years ago
committed by GitHub
parent
commit
4c3354592c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      components/popover/style/index.tsx

3
components/popover/style/index.tsx

@ -2,7 +2,7 @@ import { resetComponent } from '../../style';
import { initZoomMotion } from '../../style/motion';
import getArrowStyle from '../../style/placementArrow';
import type { FullToken, GenerateStyle, PresetColorType } from '../../theme/internal';
import { genComponentStyleHook, mergeToken, PresetColors } from '../../theme/internal';
import { PresetColors, genComponentStyleHook, mergeToken } from '../../theme/internal';
export interface ComponentToken {
zIndexPopup: number;
@ -48,6 +48,7 @@ const genBaseStyle: GenerateStyle<PopoverToken> = (token) => {
textAlign: 'start',
cursor: 'auto',
userSelect: 'text',
transformOrigin: `var(--arrow-x, 50%) var(--arrow-y, 50%)`,
'--antd-arrow-background-color': colorBgElevated,
'&-rtl': {

Loading…
Cancel
Save