Skip to content

cellHeight: "1vw" causes items to move during resize #2208

Closed

Description

@jpleau

It looks like whenever we try to resize a grid-item, it moves up or down. The distance depends on how far from the top we are.

Example:

https://jsfiddle.net/k52y8gxv/

Scroll down to see the bottom-right grid item, try to resize it, it will move while we're resizing. Not sure what decides if it's moving up or down. The interesting part is that if you move it up, the distance it will try to move will be reduced, and if you move it down, the distance will be increased.

I tested this with 7.0.1 and 7.2.3, also tried with older versions that were using the jquery D&D.

Activity

  1. deleted a comment from ruslauz on Feb 10, 2023
  2. adumesny commented on Feb 11, 2023

    @adumesny
    Member

    setting an explicit height in px works - something about cellHeight: "1vw" is causing some issues...
    https://jsfiddle.net/adumesny/vzdtbLy6/

    low priority.

  3. changed the title [-]Grid items move when we try to resize them[/-] [+]cellHeight: "1vw" causes items to move during resize[/+] on Feb 11, 2023
  4. added a commit that references this issue on Sep 29, 2026
    f33b895
  5. added a commit that references this issue on Sep 29, 2026
    777010a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions