fixed #44
This commit is contained in:
梁灏 2016-11-01 12:42:57 +08:00
parent 73d9ebe3f1
commit f12aca9e84
4 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -22,7 +22,8 @@
gpuAcceleration: false, gpuAcceleration: false,
placement: 'bottom-start', placement: 'bottom-start',
boundariesPadding: 0, boundariesPadding: 0,
forceAbsolute: true forceAbsolute: true,
boundariesElement: 'body'
}); });
this.popper.onCreate(popper => { this.popper.onCreate(popper => {
this.resetTransformOrigin(popper); this.resetTransformOrigin(popper);

View file

@ -1,7 +1,7 @@
@select-dropdown-prefix-cls: ~"@{css-prefix}select-dropdown"; @select-dropdown-prefix-cls: ~"@{css-prefix}select-dropdown";
.@{select-dropdown-prefix-cls} { .@{select-dropdown-prefix-cls} {
width: 100%; width: inherit;
max-height: 200px; max-height: 200px;
overflow: auto; overflow: auto;
margin: 5px 0; margin: 5px 0;