antd Table 可伸縮列沒有效果

把antd 中的Table可伸縮示例代碼,下載到本身的代碼中發現,鼠標放到表格的邊框上,並無出現可伸縮鼠標樣式,最後的解決方法是在css樣式中添加下面的樣式,就解決問題了。css

.react-resizable {
    position: relative;
    background-clip: padding-box;
  }
  
.react-resizable-handle {
    position: absolute;
    width: 10px;
    height: 100%;
    bottom: 0;
    right: -5px;
    cursor: col-resize;
    z-index: 1;
  }
相關文章
相關標籤/搜索