Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#8134 [a+] add anchors to the timeline on a+ : Position in Umfrage Modul not set correctly #2605

Open
sblindow opened this issue May 8, 2024 · 3 comments
Labels
Prio: Low fix when there is time

Comments

@sblindow
Copy link

sblindow commented May 8, 2024

URL:
Test Project

expected behaviour:
When viewing the timeline on a device with a screen size small enough to necessitate repositioning, the default anchor position should automatically adjust for each event/ module clicked within the timeline.

behaviour:
The default anchor position adjusts correctly for other modules/events on smaller screens, but not for the Survey Module. To replicate this issue, use the following steps:

  1. Access the link provided above.
  2. Set your browser to the maximum zoom level that still correctly displays the first chronological event.
  3. Navigate to the "Umfrage Module (2. Online Beteiligung)."

Despite the page being sufficiently long, the Survey Module does not align to the correct position as expected.

important screensize:
3360x1890, 120% browser zoom

device & browser:
MacOs, Firefox 125.0.3 (64-Bit)

@goapunk
Copy link
Contributor

goapunk commented May 8, 2024

@TeaJayyy This is more of a structural problem (we can't scroll down to the content if the whole page fits on your screen), should we ignore this issue or find a solution?

@t-j-q
Copy link
Contributor

t-j-q commented May 10, 2024

@goapunk Think this is not the case with the poll module: https://aplus-dev.liqd.net/permanent-test-project/projects/multimodul-timeline/?initialSlide=2#timeline-carousel
If you click the spot on timeline with the poll the anchor doesn't work although the page is long enough. I believe it has to do with the content of the poll module. Not an expert but might it be possible that the anchor activates first and then the content of the module is loaded?

@goapunk
Copy link
Contributor

goapunk commented May 15, 2024

yes, with content loaded via react this won't work I guess, we'd need to find a different solution there

@t-j-q t-j-q added the Prio: Low fix when there is time label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prio: Low fix when there is time
Projects
None yet
Development

No branches or pull requests

3 participants