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

another Polymer 2 problem #3

Open
davidmaxwaterman opened this issue Jun 27, 2018 · 0 comments
Open

another Polymer 2 problem #3

davidmaxwaterman opened this issue Jun 27, 2018 · 0 comments

Comments

@davidmaxwaterman
Copy link

I have found that there is an issue when using a dom-repeat's index in a drop-item - while before, in Polymer 1, the dom-repeat would do whatever is necessary to make the index value correct, with Polymer 2 it doesn't, so the index follows the item that was dragged. I guess this is trivial to show in the demo just be adding a binding to index.

TBH, Sortable actually moving the dom elements around inside the dom-repeat to be quite suspect, and has lead to all sorts of issues with dom-repeat....my solution is to abandone dom-repeat and do my own manual implementation.

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