-
Notifications
You must be signed in to change notification settings - Fork 289
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
Column resize doesn't properly work on mobile #705
Comments
Thanks for filing. |
Ok. Thank you! But do you have any ideea why if
The resize is working ok on mobile? (Also the reorder column example is working ok on the locally checked out project with |
Interesting. We're no longer passing down the
So a quick workaround is to explicity pass down the prop to the cell renderer from the user's side, like what you did. The actual fix likely involves FDT passing it down instead, like what I see for v1.2.x.
I unfortunately can't figure out why there's a difference in behavior with the local webpack server vs the one in hosted in codesandbox. On a side note, I'm also seeing an issue where trying to resize via touch results in the table being scrolled in the background. |
In our opinion this is false. This is actually the exact reason why we are trying a migration towards v2, hoping to fix the behavior on mobile. |
@daniela-mateescu, @cristian-spiescu , I put a potential fix for this at #706, with a couple of other touch related issues I saw along the way. I did a quick round of smoke testing by forking your example (see https://codesandbox.io/s/fixed-data-table-2-touch-resizing-s22nn7) and it seems to work well. The fix can be grabbed by specifying |
Thanks a lot! We'll give it a shot Monday and get back to you. Have a nice weekend. |
Hello! Thanks a lot for this fix! We confirm that we have tested and that the resize and reorder works now on our application (on mobile) with this your new prerelease version. We are looking forward for a release version. |
@pradeepnschrodinger do you have an idea when is a next version available, containg this fix? Maybe 2.0.3? |
Thanks for the testing out the fix and letting us know it works. The next release containing this fix is likely |
Fix released with v2.0.3. |
Thanks a lot @pradeepnschrodinger |
Dragging to resize a column on mobile doesn't work on a new project using your project as a library
But If I check out your project (on the master branch) and I run your examples (using
yarn site-dev-server
) from there the resize is working ok on mobileExpected Behavior
After touch down, when touch moves, the resize line should move and when touching up the column should get resized
Current Behavior
When dragging for resizing a column on mobile, the resize line doesn't move and when touch up, the column doesn't resize. If you tap second time the column gets resized.
Steps to Reproduce (for bugs)
You should open the following link in chrome
https://codesandbox.io/s/exciting-meitner-9qjjqf?file=/src/index.js
Use the mobile mode of the chrome dev tools
Resizing a column doesn't work
Your Environment
The text was updated successfully, but these errors were encountered: