From 354254b414127554bb956df9bd8bb0e91eabcedb Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Mon, 21 May 2018 17:20:01 +0800 Subject: [PATCH] change popper.js default options --- src/components/base/popper.js | 2 +- src/components/select/dropdown.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/base/popper.js b/src/components/base/popper.js index 2f0d438..f7dc6b2 100644 --- a/src/components/base/popper.js +++ b/src/components/base/popper.js @@ -34,7 +34,7 @@ export default { gpuAcceleration: false, }, preventOverflow :{ - boundariesElement: 'viewport' + boundariesElement: 'window' } } }; diff --git a/src/components/select/dropdown.vue b/src/components/select/dropdown.vue index 9439abb..50c674d 100644 --- a/src/components/select/dropdown.vue +++ b/src/components/select/dropdown.vue @@ -49,7 +49,7 @@ gpuAcceleration: false }, preventOverflow :{ - boundariesElement: 'viewport' + boundariesElement: 'window' } }, onCreate:()=>{ -- libgit2 0.21.4