Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Table Reflow Column headers' text includes any elements such as button text #7415
I think a table should only contain data, no controls. So I don't think we should make changes that encourage people to use interactive elements (other than links) inside a table. And I agree with @arschmitz that it's not a good idea to have a button in the table head, because it won't be visible on small screens.
Closing this issue because this is not something we want to change.
Jasper, thanks for looking in to this.
I believe this is a legitimate issue with minor work / performance implications to implement, however I respect your decision and thank you for your time.
@uGoMobi @mattscotty im going to reopen this because it is valid to have other elements in a table and we should not limit to just text.
What we should be doing here is using
@mattscotty this would also solve your use case as you could conditionally hide the button with css