Skip to content

Conversation

@adumesny
Copy link
Member

Description

pushing all H5 changes (with history re-written) to be on top on v2.2.0-dev latest

Checklist

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

rhlin and others added 7 commits November 15, 2020 08:43
draggable
1. use requireAnimateFrame
2. set up will change
3. use passive event if possible
4. change helper position from 'fixed' to 'absolute' to avoide flicker
5. dragend event binding after dragstart
6. fix removing ui-draggable-dragging class for drag-in element
droppable
1. pre transform accept to function on init

from https://github.com/rhlin/gridstack.js feat-h5dd-optimize
still way too slow for html5 vs mouse event JQ. Will have to roll our own.
* make sure to add .ui-resizable-resizing class while resizing, else we fall into CSS 300ms animation (grid default to animate)
resize is now fast like dragging
* removed drag/resize delay timeout - not needed and Util has routine anyway if we decide later
* fixed typos throughout H5 code
* changed credit order to give credit where credit is due (rhlin)
@adumesny adumesny merged commit c686470 into gridstack:h5 Nov 15, 2020
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.

2 participants