Browse Source

#1182: will-change (transform -> all)

pull/1191/head
RubaXa 7 years ago
parent
commit
cc1eb94101
  1. 4
      CONTRIBUTING.md
  2. 2
      Sortable.js

4
CONTRIBUTING.md

@ -2,7 +2,7 @@
### Issue
1. Try [dev](https://github.com/RubaXa/Sortable/tree/dev/)-branch, perhaps the problem has been solved;
1. Try [master](https://github.com/RubaXa/Sortable/tree/master/)-branch, perhaps the problem has been solved;
2. [Use the search](https://github.com/RubaXa/Sortable/search?type=Issues&q=problem), maybe already have an answer;
3. If not found, create example on [jsbin.com (draft)](http://jsbin.com/zunibaxada/1/edit?html,js,output) and describe the problem.
@ -11,7 +11,7 @@
### Pull Request
1. Before PR run `grunt`;
2. Only into [dev](https://github.com/RubaXa/Sortable/tree/dev/)-branch.
2. Only into [master](https://github.com/RubaXa/Sortable/tree/master/)-branch.
### Setup

2
Sortable.js

@ -394,7 +394,7 @@
this._lastX = (touch || evt).clientX;
this._lastY = (touch || evt).clientY;
dragEl.style['will-change'] = 'transform';
dragEl.style['will-change'] = 'all';
dragStartFn = function () {
// Delayed drag has been triggered

Loading…
Cancel
Save