From 61339d63287a636eda32a2b4bab682130b880c4e Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Tue, 10 Apr 2018 16:13:09 +0800 Subject: [PATCH] update dropdown.vue popper.js opts --- src/components/select/dropdown.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/select/dropdown.vue b/src/components/select/dropdown.vue index 4915fae..1d9abc1 100644 --- a/src/components/select/dropdown.vue +++ b/src/components/select/dropdown.vue @@ -46,7 +46,10 @@ placement: this.placement, modifiers: { computeStyle:{ - gpuAcceleration: false, + gpuAcceleration: false + }, + preventOverflow :{ + boundariesElement: 'body' } }, onCreate:()=>{ -- libgit2 0.21.4