Thanks to visit codestin.com
Credit goes to github.com

Skip to content

H5: rebased from 2.2.0 latest code #1458

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

Merged
merged 7 commits into from
Nov 15, 2020
Merged

H5: rebased from 2.2.0 latest code #1458

merged 7 commits into from
Nov 15, 2020

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