File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ interface PopupProps {
59
59
point ?: Point ;
60
60
zIndex ?: number ;
61
61
mask ?: boolean ;
62
- keepAlign ?: boolean ;
63
62
64
63
// Motion
65
64
motion : MotionType ;
@@ -250,7 +249,6 @@ class Popup extends Component<PopupProps, PopupState> {
250
249
prefixCls,
251
250
className,
252
251
style,
253
- keepAlign,
254
252
stretch,
255
253
visible,
256
254
align,
@@ -334,7 +332,6 @@ class Popup extends Component<PopupProps, PopupState> {
334
332
disabled = { mergedAlignDisabled }
335
333
align = { align }
336
334
onAlign = { this . onAlign }
337
- keepAlign = { keepAlign }
338
335
>
339
336
< PopupInner
340
337
prefixCls = { prefixCls }
Original file line number Diff line number Diff line change @@ -75,8 +75,6 @@ export interface TriggerProps {
75
75
76
76
stretch ?: string ;
77
77
alignPoint ?: boolean ; // Maybe we can support user pass position in the future
78
- /** Align will repeat trigger when component did updated */
79
- keepAlign ?: boolean ;
80
78
81
79
/** Set popup motion. You can ref `rc-animate` for more info. */
82
80
popupMotion ?: MotionType ;
@@ -460,7 +458,6 @@ export function generateTrigger(PortalComponent: any): React.ComponentClass<Trig
460
458
popup,
461
459
stretch,
462
460
alignPoint,
463
- keepAlign,
464
461
} = this . props ;
465
462
const { popupVisible, point } = this . state ;
466
463
@@ -500,7 +497,6 @@ export function generateTrigger(PortalComponent: any): React.ComponentClass<Trig
500
497
maskMotion = { maskMotion }
501
498
ref = { this . popupRef }
502
499
motion = { popupMotion }
503
- keepAlign = { keepAlign }
504
500
>
505
501
{ typeof popup === 'function' ? popup ( ) : popup }
506
502
</ Popup >
You can’t perform that action at this time.
0 commit comments