Skip to content

Dragging item out to bottom does not remove with maxRow #1570

Closed

Description

@NealonF

Subject of the issue

you can drag out to remove) from every side but bottom even though you have maxRow=6 (you can see drop feedback stays inside in that case)

Your environment

gridstack v3.1.3 with gridstack-jq-js and gristack.min.css as only references.
Chrome v87.0.4280.141 (Official Build) (64-bit)

Steps to reproduce

https://jsfiddle.net/adumesny/ks8gmqo4/

Expected behavior

Should remove item when dragged out from bottom of grid (as it does with every other side)

Actual behavior

Extends browser window and upon drop, goes back to spot where picked up.

Activity

  1. adumesny commented on Jan 14, 2021

    @adumesny
    Member

    3 separate bugs please...

  2. changed the title [-]Dragging item out to bottom does not remove, item does not render when dragged into full grid, column:1 not working[/-] [+]Dragging item out to bottom does not remove[/+] on Jan 14, 2021
  3. changed the title [-]Dragging item out to bottom does not remove[/-] [+]Dragging item out to bottom does not remove with maxRow[/+] on Jan 16, 2021
  4. adumesny commented on Jan 17, 2021

    @adumesny
    Member

    if you don't have maxRow the grid grows to fit so you never get the leave event, but it looks like we don't get leave even when max...

    20210117_083644.mp4

    works correctly when you have float:false (removes placeholder) though it requires being past the bottom by a lot

    20210117_084011.mp4
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions