element-hq / element-hq/element-web

Poll choice updated after results

Open
#34,185 1 comment 2 reactions 0 assignees View on GitHub
A-Electron A-Polls O-Occasional S-Minor T-Defect X-Needs-Design
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Create a poll
2. Vote for a non-majority option
Image

1. Close the poll
1. The marker indicating your choice is moved to the majority option
Image

### Outcome

#### What did you expect?
The marker would remain at the same option.

#### What happened instead?
The marker indicating the choice is moved to the majority option (most chosen one).

### Operating system

macOS, Ubuntu, Arch Linux

### Application version

1.12.23

### How did you install the app?

https://element.io/en/download

### Homeserver

matrix.org

### Will you send logs?

No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the poll flow in the web application: create a poll, vote for a non-majority option, close it, and observe the choice marker. Trace the poll result rendering and selection state to find why the marker follows the majority option. Done means the marker remains on the option originally selected after the poll is closed, with coverage for this scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.