Skip to content

Commit

Permalink
popup: Fix wrong setting of overflow-scrolling when using multi popup…
Browse files Browse the repository at this point in the history
… on Safari. Close #1015
  • Loading branch information
airyland committed Mar 2, 2017
1 parent 324781d commit f70f0ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/popup/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ export default {
}
} else {
this.$emit('on-hide')
this.fixSafariOverflowScrolling('touch')
if (!document.querySelector('.vux-popup-dialog.vux-popup-show')) {
this.fixSafariOverflowScrolling('touch')
}
this.show = false
this.popup.hide(false)
}
Expand Down
5 changes: 5 additions & 0 deletions src/components/popup/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ events:
on-first-show:
zh-CN: 第一次显示时触发
changes:
v2.1.1-rc.6:
en:
- '[fix] Fix wrong setting of overflow-scrolling when using multi popup on Safari #1015 @think2011'
zh-CN:
- '[fix] 修复 Safari 上关闭第二个popup导致的问题 #1015 @think2011'
v2.1.1-rc.1:
en:
- '[fix] Fix overflow-scrolling setting in safari #311 @linhaobin'
Expand Down

0 comments on commit f70f0ae

Please sign in to comment.