Skip to content
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

Click card moves to last position #149

Open
iantearle opened this issue Aug 19, 2021 · 0 comments
Open

Click card moves to last position #149

iantearle opened this issue Aug 19, 2021 · 0 comments

Comments

@iantearle
Copy link

iantearle commented Aug 19, 2021

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.

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

No branches or pull requests

1 participant