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

Updating table layout / columns breaks column toggling #210

Open
tristaaan opened this issue May 25, 2021 · 3 comments
Open

Updating table layout / columns breaks column toggling #210

tristaaan opened this issue May 25, 2021 · 3 comments

Comments

@tristaaan
Copy link

My solution to get around this was to simply not use the built-in row selection features if the column toggle menu is present or if columns were being added/removed depending on data.

animation 11 59 48 AM

@kevzlou7979
Copy link
Contributor

This was addressed on GMD 2.5.0-SNAPSHOT

@kevzlou7979
Copy link
Contributor

You can test it here and confirm if the issue still exist. https://gwtmaterialdesign.github.io/gmd-table-demo/snapshot/#standard

@tristaaan
Copy link
Author

tristaaan commented May 28, 2021

Still seeing it there too. Steps to reproduce:

  1. Remove a column / add a column
  2. Add the column back / remove that added column
  3. Toggle a column with the table menu
    -> The toggled column will be off in some way. Here toggling the "First Name" column hides the "image" column but not its header.

Steps 1 and 2 in the gif are done by changing the table selection type which adds or removes the checkbox column. Locally I've reproduced it independent of changing the selection type.

animation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants