Reverse Tab navigation in DataTable edit mode doesn't use currently opened editor as index.

UI Components for React
Post Reply
CylonOven
Posts: 3
Joined: 14 Apr 2019, 17:35

14 Apr 2019, 17:46

Bug:
Editor doesn't move in logcal way when using SHIFT + TAB when editing a cell in a data table.

Reproduction:
https://www.primefaces.org/primereact/#/datatable/edit
Click a cell
press `tab` N times to move editor forward N times forward.
Press `Shift+tab` M times, editor is opened at - N -M -1 places from current editor. (Ie one back from initial opening of the editor)
Press 'tab' again, editor moves to N+1 from initial editor location.

Expected results:
Editor always moves +1 or -1 from current editor position.

Tested with:
FireFox
Chromium

CylonOven
Posts: 3
Joined: 14 Apr 2019, 17:35

30 May 2019, 11:38

I submitted a PR and they pulled it. This issue should then be fixed if you're using the master branch.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

24 Jun 2019, 10:25

Hi,

Please use the latest version. Thanks a lot!

Best Regards,

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests