Scroll position resetting on overy page change
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- frontend
Research direction
The report links the scroll reset to change #6662 and reproduces it when returning from a poll detail view in the browser. Read that change and trace the poll list and detail navigation to find where scroll state is lost. Reproduce the steps in the issue; done means browser back restores the previous scroll position.
Written by the indexing model from the issue text.
Description
Describe the bug
As of #6662 the scroll position is resetting on every page change. This can be rather annoying.
Reproduction is just an example. This happens everywhere.
How to Reproduce
- Create election
- Create multiple polls such that the page scrolls
- Scroll to bottom and open poll detail view
- Go back via back button of browser
- Scroll position is reset to top
Expected behavior
Scroll position should be at the position where it was before navigating to poll detail.
Additional context
Introduced in #6662 as an attempt to fix #6661
- Dominant language
- TypeScript
- Stars
- 35
- Forks
- 53
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 49
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenSlides/openslides-client
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenSlides/openslides-client#6728 ·
Maintainers usually reply within 1 day
-
Creating a ballot not possible after switching poll method from "per list" to "per candidate"Possibly taken @emanuelschuetze claimed this 9 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenSlides/openslides-client#6680 ·
Maintainers usually reply within 1 day
-
Moderation note mat card: too much space title <--> contentPossibly taken @Borreg0 claimed this 5 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenSlides/openslides-client#6678 · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
OpenSlides/openslides-client#6641 · 1 comment ·
Maintainers usually reply within 1 day
-
Remove forward button from amendmentsPossibly taken @Borreg0 claimed this 5 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenSlides/openslides-client#6677 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
All issues in OpenSlides/openslides-client
Similar issues
-
bug
Difficulty 2/5 Half a day Newbie friendliness 62/100
garethgeorge/backrest#1451 ·
Maintainers usually reply within 1 day
-
fix(core): \.pluck() returns values in key insertion order instead of requested argument orderPossibly taken @ManyaS-Git claimed this 1 day ago. Openstatus:in-linear
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
n8n-io/n8n#45027 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 13 days
-
bug
Difficulty 2/5 Half a day Newbie friendliness 68/100
navikt/skjemabygging-formio#2399 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lidofinance/validator-ejector#233 ·
Maintainers usually reply within 1 day