【发布时间】:2018-06-14 01:27:31
【问题描述】:
我正在使用语义 UI 反应来呈现数据表。我的要求是当页面在移动视图上时,我隐藏某些列。我尝试在Table.Cell 元素上使用className="mobile hidden",但这似乎根本不起作用。
然后我尝试使用下面的Responsive 组件,但出现错误。我在这里错过了什么吗?找不到遇到此问题的其他人...
<Responsive as={Table.Cell} minWidth={Responsive.onlyMobile.minWidth}>
{record.datapoint}
</Responsive>
调整窗口大小时,我在控制台中收到此错误...
index.js:2177 Warning: Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on an unmounted component. This is a no-op.
Please check the code for the Responsive component.
【问题讨论】:
标签: javascript reactjs responsive semantic-ui semantic-ui-react