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

Fix overscroll when clicking match #1871

Merged
merged 2 commits into from
Jul 19, 2024
Merged

Fix overscroll when clicking match #1871

merged 2 commits into from
Jul 19, 2024

Conversation

Kr0nox
Copy link
Member

@Kr0nox Kr0nox commented Jul 16, 2024

When clicking on a match, it was possible to overscroll the entire page and thus making important information inaccessible.

This PR solves this by:

  • Scrolling to the line number and not the text line
  • Vertical scrolling is now performed by manually calculating the scroll offset

@Kr0nox Kr0nox added bug Issue/PR that involves a bug minor Minor issue/feature/contribution/change report-viewer PR / Issue deals (partly) with the report viewer and thus involves web-dev technologies labels Jul 16, 2024
@Kr0nox Kr0nox requested review from TwoOfTwelve and a team July 16, 2024 08:50
@Kr0nox Kr0nox marked this pull request as draft July 16, 2024 13:41
Copy link

sonarcloud bot commented Jul 16, 2024

@Kr0nox Kr0nox marked this pull request as ready for review July 16, 2024 14:36
Copy link
Member

@tsaglam tsaglam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@tsaglam tsaglam merged commit 38e72cd into develop Jul 19, 2024
49 checks passed
@tsaglam tsaglam deleted the report-viwer/fix-scroll branch July 19, 2024 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue/PR that involves a bug minor Minor issue/feature/contribution/change report-viewer PR / Issue deals (partly) with the report viewer and thus involves web-dev technologies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants