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

Observe resizes of droppable containers while dragging #561

Merged
merged 4 commits into from
Jan 7, 2022

Commits on Jan 7, 2022

  1. Allow partial recomputation of droppable rects

    Also renamed `recomputeLayouts` to `recomputeRects` and `willRecomputeLayouts` to `willRecomputeRects`
    clauderic committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    98381b4 View commit details
    Browse the repository at this point in the history
  2. Add resize observer to droppable elements while dragging

    While sorting, it's possible for the size of droppable elements to change. We add a resize observer to keep track of size changes and schedule recomputation of the bounding rectangles of the droppable elements when resize events occur.
    
    The `resizeObserverConfig` param can be used to disable or configure the resize observer.
    clauderic committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    a044e81 View commit details
    Browse the repository at this point in the history
  3. Update stories

    clauderic committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    823d4d2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b6a9cb8 View commit details
    Browse the repository at this point in the history