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

Mvp sortable list #26

Merged
merged 2 commits into from
Nov 18, 2022
Merged

Mvp sortable list #26

merged 2 commits into from
Nov 18, 2022

Conversation

khanguyen7
Copy link
Collaborator

fixed issue related to sortable list that caused crashes

still have an issue with the sortable list not re-rendering when sequence is changed
Issue: after moving around the sequence, if you added a new element the sequence would reset to the state prior to moving them around

Fix: ids is now only initialized when SequencingArea renders, and AddToSequence and RemoveToSequence now update the ids appropriately
- e.g. when adding, the entire id array is no longer overwritten, a new id is appended
@medzernik medzernik merged commit d3ac883 into main Nov 18, 2022
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

Successfully merging this pull request may close these issues.

2 participants