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.
If one track at position
nis expanded, then the remove button is clicked and the track is removed, then when the playlist reloads the track that used to be in positionn+1and is now in positionnwill be expanded. This is because some JSX arrays use indices as keys instead of something like ids. Change this.