AllenFang / AllenFang/react-bootstrap-table

Keyboard navigation when there are hidden columns.

未關閉
#1,894 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
2.2k
分支
761
PR 合併指標
30 天內沒有已合併 PR

描述

Hi @AllenFang, thank you for the amazing library, I love it!

It looks like there is an issue with keyboard navigation in 4.3.1 when there are hidden columns. To replicate it you can create a table with any of the columns hidden and keyboard navigation enabled. It looks like you planned for it by adding the visibleColumnSize variable, but variable 'x' still contains absolute column number.
What I did, is added an visibleColumnIndices array with indices of the non-hidden columns and made 'x' take only values from it.

Associated pull request: #1893.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。