File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ export default {
27
27
monitorBufferTime : PropTypes . number . def ( 50 ) ,
28
28
monitorWindowResize : PropTypes . bool . def ( false ) ,
29
29
disabled : PropTypes . bool . def ( false ) ,
30
- visible : PropTypes . bool . def ( false ) ,
31
30
} ,
32
31
data ( ) {
33
32
this . aligned = false
@@ -50,7 +49,7 @@ export default {
50
49
const prevProps = this . prevProps
51
50
const props = this . $props
52
51
let reAlign = false
53
- if ( ! props . disabled && props . visible ) {
52
+ if ( ! props . disabled ) {
54
53
const source = this . $el
55
54
const sourceRect = source ? source . getBoundingClientRect ( ) : null
56
55
Original file line number Diff line number Diff line change @@ -256,9 +256,9 @@ export default {
256
256
key = 'popup'
257
257
ref = 'alignInstance'
258
258
monitorWindowResize
259
+ disabled = { ! visible }
259
260
align = { align }
260
261
onAlign = { this . onAlign }
261
- visible = { visible }
262
262
>
263
263
< PopupInner
264
264
{ ...popupInnerProps }
You can’t perform that action at this time.
0 commit comments