-
Notifications
You must be signed in to change notification settings - Fork 13.9k
[FLINK-27441][webfrontend] fix "nzScroll" calculations #19606
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
Conversation
|
@flinkbot run azure |
|
The change looks good basically but I've some minor comments.
Do we have a link for the bug? Please add it to the PR. I would mention manual testing steps in the "Verifying this change" area. Namely on which page which UI element needs to be checked (I know it but it would be good to let others know). Could you attach a before and after picture just to double check that we see the same thing? I've started the manual testing... |
|
Oh and almost forgot, please add component to the title of the PR like |
|
Thanks for the comments.
|
gaborgsomogyi
left a comment
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.
LGTM. Tested manually and works as expected.
|
Thanks @ferenc-csaky and @gaborgsomogyi. Will merge on Monday after a quick test unless anyone disagrees. |
mbalassi
left a comment
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.
LGTM


What is the purpose of the change
Fixes hidden scrollbar for some UI elements, where CSS calculate was based on a percentage. The current Angular version has a bug, so in those cases the scrollbar is hidden and scrolling is not possible.
Relevant Angular issue: NG-ZORRO/ng-zorro-antd#3090
Brief change log
Changed
calc ( X% ...)tocalc( Xvh ...), which solves this problem.Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
How to test
Prepare a Flink job with a number of Accumulators that cannot fit to the tab, so scrolling is required. After running the job, the "Accumulators" tab has no scrollbar. The CSS can be changed in the browser, so it can be modified on the fly to try out the fix.
Does this pull request potentially affect one of the following parts:
@Public(Evolving): noDocumentation