Lattice-Automation/seqviz

removing last enzyme does not update UI

bugzpodder opened this issue · 2 comments

If the enzymes prop changes from one item to an empty list, the UI doesn't remove the last enzyme from the viewer

last enzyme that was removed does not show up

Screenshots

https://codesandbox.io/s/seqviz-2034785vi2ht-forked-9tj4sv?file=/src/App.js

Your environment:

jjti commented

This is incredible @bugzpodder, thank you for the easily reproducible example:

Screenshot 2023-03-11 at 10 43 08 AM

jjti commented

Should be fixed in the latest release: https://github.com/Lattice-Automation/seqviz/releases/tag/3.7.7

Example here: https://codesandbox.io/s/seqviz-2034785vi2ht-forked-brbi5v

I'm going to close, but please lmk if you continue to have issues