Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tabulator Virtual DOM bug, rows disappear #4657

Open
taylortig-proscia opened this issue Dec 17, 2024 · 0 comments
Open

Tabulator Virtual DOM bug, rows disappear #4657

taylortig-proscia opened this issue Dec 17, 2024 · 0 comments
Labels
Possible Bug A possible bug that needs investigation

Comments

@taylortig-proscia
Copy link

taylortig-proscia commented Dec 17, 2024

Describe the bug

The virtual DOM fails to render rows with the addition of new moved columns to the table. We have however, also had reports from customers of white space after sort and scroll, so there may be other ways to trigger a virtual DOM error, these steps are just easily reproduced. I am unable to capture this error and recover from it without a page reload.

Tabulator Info
I have replicated this on 5.4 and 6.3.

Working Example
https://jsfiddle.net/taylortignino/voq9kudm/47/

To Reproduce

  1. Add a column
  2. Scroll down
  3. Move the column left
  4. Add another column
  5. Scroll down
  6. Move that column left
  7. Scroll around and observe the blank table and errors in console

Row.js:422 Uncaught TypeError: Cannot read properties of undefined (reading 'delete')
at p.deleteCells (Row.js:422:18)
at p.initialize (Row.js:73:9)
at b._virtualRenderFill (VirtualDomVertical.js:297:10)
at b.scrollRows (VirtualDomVertical.js:125:9)
at HTMLDivElement. (RowManager.js:145:19)

Expected behavior
The table rows will render appropriately and/or in these situations, there will be a way to recover without reloading the page.

Screenshots

Screencast.from.2024-12-17.05-47-52.mp4

Screenshot from 2024-12-17 06-02-19

Desktop (please complete the following information):

  • OS: Linux
  • Browser Chrome
  • Version 131
@taylortig-proscia taylortig-proscia added the Possible Bug A possible bug that needs investigation label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Possible Bug A possible bug that needs investigation
Projects
None yet
Development

No branches or pull requests

1 participant