tabs icon indicating copy to clipboard operation
tabs copied to clipboard

React Tabs

Results 120 tabs issues
Sort by recently updated
recently updated
newest added

`rc-tabs` renders the overflowing tabs in a dropdown's overlay. The overlay is always rendered at the `` level and we cannot change that at the moment. This make it impossible...

有tabA和TabB两个tab, 对应的content是contentA和contentB, contentA的高是50px, contentB的高是100px, 当通过拖动内容区域的方式从contentA切换到contentB的过程中, contentB的高度显示不正确

bug

Uncaught TypeError: Cannot read property 'offsetWidth' of undefined at Object.getOffsetWH (ScrollableTabBarMixin.js:95) at Object.setNextPrev (ScrollableTabBarMixin.js:54) at ScrollableTabBarMixin.js:28 at invokeFunc (index.js:160) at trailingEdge (index.js:207) at timerExpired (index.js:195)

当组件挂载后,若父元素此时 `display: none`,激活的下划线无法计算出位置及宽度,当父元素显示时若无重新渲染,则激活 tab 的下划线无法出现。

if (activeTab ) { } ... componentDidUpdate() { componentDidUpdate(this); } ======> // 多添加个判断条件,重复的activeKey不设置动画 if (activeTab && (!prevProps || activeKey !== prevProps.activeKey)) { } ... componentDidUpdate(prevProps) { // resolve the probleme...