Skip to content

Conversation

@adumesny
Copy link
Member

Description

more mobile fixed for #1757

  • turns out window.TouchEvent=true on windows 10 Chrome, so don't use it to detect isTouch as we were getting double enter/pointerEnter events
  • some fix to draggable (desktop tested)
  • placeholder is not a 10% black shadow (easier to see than dashed outline)

TODO: in nested.html dragging to other and back to different spot goes to original not dropped location.
Apparently the flow is very different from draggable for nested grids... need more work.

Checklist

  • Created tests which fail without the change (if possible)
  • All tests passing (yarn test)
  • Extended the README / documentation, if necessary

more mobile fixed for gridstack#1757
* turns out window.TouchEvent=true on windows 10 Chrome, so don't use it to detect `isTouch` as we were getting double enter/pointerEnter events
* some fix to draggable (desktop tested)
* placeholder is not a 10% black shadow (easier to see than dashed outline)

TODO: in nested.html dragging to other and back to different spot goes to original not dropped location.
Apparently the flow is very different from draggable for nested grids... need more work.
@adumesny adumesny merged commit 581dd70 into gridstack:master Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant