Commit 354254b414127554bb956df9bd8bb0e91eabcedb

Authored by 梁灏
1 parent d28403ec

change popper.js default options

src/components/base/popper.js
@@ -34,7 +34,7 @@ export default { @@ -34,7 +34,7 @@ export default {
34 gpuAcceleration: false, 34 gpuAcceleration: false,
35 }, 35 },
36 preventOverflow :{ 36 preventOverflow :{
37 - boundariesElement: 'viewport' 37 + boundariesElement: 'window'
38 } 38 }
39 } 39 }
40 }; 40 };
src/components/select/dropdown.vue
@@ -49,7 +49,7 @@ @@ -49,7 +49,7 @@
49 gpuAcceleration: false 49 gpuAcceleration: false
50 }, 50 },
51 preventOverflow :{ 51 preventOverflow :{
52 - boundariesElement: 'viewport' 52 + boundariesElement: 'window'
53 } 53 }
54 }, 54 },
55 onCreate:()=>{ 55 onCreate:()=>{