amethyst
amethyst copied to clipboard
[BUG] Deleting "not last" poll options in note breaks creation of poll
Describe the bug Deleting a poll option that is not last in the list causes issues.
To Reproduce Steps to reproduce the behavior:
- Click to create a new note
- Add two or more poll options
- Delete poll options in the middle of the list
Expected behavior Poll list can still be edited by adding new items or removing items.
Actual behaviour
- Unable to add additional poll options
- Unable to delete additional poll options
- Bit random in terms what can be added / removed aftwards
Device (please complete the following information):
- Phone Brand/Model: Pixel 7 Pro
- Android Version: 33
- App Version: v0.71.0
@davotoula I tested this and it does not crash for me. However, I experience inconsistent behaviour, whereby the option below the deleted one does not replace it in the UI, and the last option disappears from the view(and does not show up even upon deletion of the options above it).
The app didn't crash for me but the poll option became unusable... Just like you described.
Bit better but still behaves funny when you delete middle options.
@davotoula please does this still happen again?
Unfortunately yes. It feels a bit more resilient but you still get the following if you remove middle options and keep adding new:
When you add a new option you see values from and older deleted option
Delete middle option but instead the last option was deleted
Add middle option and an additional last option appears with an old value
Some others 😂
Unfortunately yes. It feels a bit more resilient but you still get the following if you remove middle options and keep adding new:
When you add a new option you see values from and older deleted option
Delete middle option but instead the last option was deleted
Add middle option and an additional last option appears with an old value
Some others 😂
I see :sweat_smile: