File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { cloneElement } from '../../_util/vnode';
8
8
export default {
9
9
mixins : [ BaseMixin ] ,
10
10
props : {
11
- minOverlayWidthMatchTrigger : PropTypes . bool . def ( true ) ,
11
+ minOverlayWidthMatchTrigger : PropTypes . bool ,
12
12
prefixCls : PropTypes . string . def ( 'rc-dropdown' ) ,
13
13
transitionName : PropTypes . string ,
14
14
overlayClassName : PropTypes . string . def ( '' ) ,
@@ -198,7 +198,6 @@ export default {
198
198
} ,
199
199
ref : 'trigger' ,
200
200
} ;
201
- const child = this . $slots . default && this . $slots . default [ 0 ] ;
202
201
return (
203
202
< Trigger { ...triggerProps } >
204
203
{ this . renderChildren ( ) }
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import BaseMixin from '../_util/BaseMixin';
7
7
import { getListeners } from '../_util/props-util' ;
8
8
9
9
export default {
10
+ name : 'VCTriggerPopup' ,
10
11
mixins : [ BaseMixin ] ,
11
12
props : {
12
13
visible : PropTypes . bool ,
@@ -184,7 +185,6 @@ export default {
184
185
} else if ( stretch . indexOf ( 'minWidth' ) !== - 1 ) {
185
186
sizeStyle . minWidth = typeof targetWidth === 'number' ? `${ targetWidth } px` : targetWidth ;
186
187
}
187
-
188
188
// Delay force align to makes ui smooth
189
189
if ( ! stretchChecked ) {
190
190
// sizeStyle.visibility = 'hidden'
Original file line number Diff line number Diff line change 184
184
"babel-runtime" : " 6.x" ,
185
185
"classnames" : " ^2.2.5" ,
186
186
"component-classes" : " ^1.2.6" ,
187
- "dom-align" : " ^1.7.0 " ,
187
+ "dom-align" : " ^1.10.4 " ,
188
188
"dom-closest" : " ^0.2.0" ,
189
189
"dom-scroll-into-view" : " ^2.0.0" ,
190
190
"enquire.js" : " ^2.1.6" ,
You can’t perform that action at this time.
0 commit comments