x-spreadsheet 下拉框没有滚动条,很容易超出表格范围

nuypyhwy  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(43)

下拉框没滚动条,我试试加个scroll–y

wmtdaxz3

wmtdaxz31#

export default class Suggest {
constructor(items, itemClick, width = '200px') {
this.filterItems = [];
this.items = items;
this.el = h('div', ${cssPrefix}-suggest )
.css('width', width)
.css("height", "260px")
.css("overflow", "auto").hide();
this.itemClick = itemClick;
this.itemIndex = -1;
}

compents/suggest.js 可以手动调整下样式

相关问题