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

Bug when removing. Change JSX array keys #90

Open
Noam-Bendelac opened this issue May 24, 2021 · 0 comments
Open

Bug when removing. Change JSX array keys #90

Noam-Bendelac opened this issue May 24, 2021 · 0 comments
Labels
bug Something isn't working frontend Frontend functionality implementation Possible implementation idea to keep in mind
Milestone

Comments

@Noam-Bendelac
Copy link
Collaborator

If one track at position n is expanded, then the remove button is clicked and the track is removed, then when the playlist reloads the track that used to be in position n+1 and is now in position n will be expanded. This is because some JSX arrays use indices as keys instead of something like ids. Change this.

@Noam-Bendelac Noam-Bendelac added bug Something isn't working implementation Possible implementation idea to keep in mind frontend Frontend functionality labels May 24, 2021
@Noam-Bendelac Noam-Bendelac added this to the Milestone 2 milestone May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Frontend functionality implementation Possible implementation idea to keep in mind
Projects
None yet
Development

No branches or pull requests

1 participant