gajus / gajus/swing

Click card moves to last position

Open
#149 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.6k
Forks
246
PR merge metrics
No merged PRs in 30d

Description

Might be an edge case in how im restacking the cards by prepending the dom, but I found using #94 and clicking on the card it moved the card to its last known position.

```
(function animation() {
if (isDraging) {
doMove();

(0, _raf2.default)(animation);
}
})();
```
`Line: 141`
removing the above function solved this and I can now scroll a portion of the card within the swing element.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.