-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fixes scrolling in task #1900
Fixes scrolling in task #1900
Conversation
[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/bugfix/scroll-in-task/playwright-report/index.html |
@@ -12,6 +12,7 @@ | |||
[showTopRightControls]="!!(showTopRightControls$ | async) && !(isNarrowScreen$ | async)" | |||
></alg-top-bar> | |||
<div | |||
id="main-content-wrapper" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's easy to broke scroll feature (for example rename the class) as we have no tool for check the build, but at least the id usually means we need it for some logic in js.
As another option we can create service for scroll and use it instead of global window variable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could find a way to have an automated test on that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've created the task #1902
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How has it been broken?
I guess with changing of new design, so almost 2 years ago |
Description
Fixes #1897
Notes (out of scope, known isues, hints for reviewing code, ...) (optional)
The issue is - it calls global scroll while our scroll is inside specific container
Test cases