Skip to content

Resizer offset with useFlexLayout #2972

Description

@I3igI3uilder

Describe the bug (required)
When using FlexLayout with resizers and the table width is larger (1000px+), there is a noticable offset from the mouse pointer to the resizer element.

Provide an example via Codesandbox! (required)
This is the original example for useFlexLayout
https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/full-width-resizable-table

Steps To Reproduce (required)

  1. Drag the window where the table is rendered a good portion to the left
  2. Try resizing the columns

Expected behavior (Recommended)
Usually the resizer should move the same delta x as the mouse does.

Screenshots
I have an x resolution of 1920
FlexLayout_Resizer

Desktop (please complete the following information):

  • OS: Windows 10 64bit, Intel, Version 2004
  • Browser: Chrome 87.0.4280.88, Firefox 84.0.2

I would like to help fixing this, but this is beyound my reach.
Thank you for this great project.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions