table
table copied to clipboard
ios纵向滑动表格,表格消失了,该怎么解决?(The table disappears when sliding vertically on ios)
我在用 rc-table 时遇到一个问题:在有的 ios 上,纵向滑动表格,表格消失了。然后我在 scroll 属性里加了 y: 'auto',现在消失的问题没有了,但是表头和内容列对不齐了。请教大家该怎么解决这样的问题呢?
现在表格组件是这样的:
<Table className="ext-table testBreak" columns={columns} {...otherProps} scroll={{ x: "auto", y: 'auto' }} // style={{width: 909}} data={util.addTableKey(tableContent||[])} onRow={(row, index) => ({ onClick: onRowClick(row, index), })} />
一样的问题