mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
Previously, users could not amend their votes on large, open polls — clicking the "Vote" button left them stuck on the results view, because the poll component's view and in-progress selection reset whenever the post was cloaked and re-rendered while scrolling. This change persists the results toggle and the in-progress selection on the durable poll object so they survive a re-mount, restoring the ballot (and any uncommitted choices) when the user scrolls back to the poll. Meta: https://meta.discourse.org/t/large-poll-bug-users-cannot-amend-votes-on-open-polls/405511 |
||
|---|---|---|
| .. | ||
| acceptance | ||
| component | ||
| helpers | ||
| unit | ||