-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[FOR REVIEW ONLY] Column resizing controlled WIP #2784
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
Conversation
…rt percentage values for min/max
86b25dd
to
14531b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange question, but what are all the Slider changes? i don't see you making use of useSliderThumb, SliderThumb, and useSliderState anywhere outside of their respective packages. Definitely not in any of the Table or Resizer modules.
Looks like prettier maybe got to them? Might help us help you if you can remove noise from the PR, including in the file TableView.tsx, it's very hard to focus on what you're actually doing
Good catch @snowystinger . I didn't realize the prettier changes made it through |
Deleted the branch which closed this WIP PR. This is not the true code. |
[THIS PR IS A BROKEN WIP AND IS ONLY MEANT FOR REVIEW/HELP AND NOT MERGING]
We are implementing column resizing for TableView and to follow this spec (#2555) we am implementing a controlled version of this behavior including an onResize callback.
I am running into an error that I don't understand in regards to tablelayout when I try to create a storybook which utilizes this. (Storybook "Resizable columns, controlled")
The error is regarding the virtualizer and so it's extremely hard to debug for someone who is not familiar with it, but I suspect that it might have something to do with the way that the controlled component is being implemented or utilized. But because the error of the Virtualizer is happening i'm not sure how to continue, so I am hoping someone who is more experienced with this codebase can take a look at this and better understand what might be happening.
Thanks in advance!