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

Calc toolbar/statusbar: fix scroll button issues on horizontal scroll #10944

Merged
merged 4 commits into from
Jan 28, 2025

Conversation

bayramcicek
Copy link
Member

@bayramcicek bayramcicek commented Jan 15, 2025

  • fixed "this._RTL always returns undefined" issue. scroll buttons are now correctly visible/hidden when scrolling horizontally with right/left scroll buttons.

  • aligned scroll-right button arrows on RTL docs

    • scroll-right button arrows of statusbar and toolbar were misaligned to the left. This is fixed with 'left: 0px'
  • Calc: show/hide scroll buttons correctly with shift + mouse wheel

    • Fixed: "Scrolling toolbar and statusbar with Shift + mouseWheelUp/Down does not hide/show the scroll right/left buttons correctly. Therefore, right/left buttons overlap with other elements."

Change-Id: Ieeb124df61ba0e2dea94ea256ec1daa2f87b220b

TODO

LTR docs:

  • Scrolling toolbar and statusbar with Shift + mouseWheelUp/Down does not hide/show the scroll right/left buttons correctly. Therefore right/left buttons overlap with other elements

RTL docs:

  • all LTR issues exist.
  • scrolling with clicking on the buttons sometimes does not show/hide buttons. (this works well on LTR docs.)
    • the reason: this._RTL always returns undefined. So we couldn't know if the doc is RTL or LTR.
  • scroll-right buttons' arrows are not aligned well.

Checklist

  • I have run make prettier-write and formatted the code.
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

@bayramcicek bayramcicek force-pushed the private/bayram/scroll-bar-bottom branch from 52fe9ea to 7b05e43 Compare January 21, 2025 09:55
@bayramcicek bayramcicek marked this pull request as ready for review January 21, 2025 09:55
@eszkadev eszkadev added the draft label Jan 24, 2025
on toolbar and statusbar.

- fixed "this._RTL always returns undefined" issue.
scroll buttons are now correctly visible/hidden when
scrolling horizontally with right/left scroll buttons.

Signed-off-by: Bayram Çiçek <[email protected]>
Change-Id: Ieeb124df61ba0e2dea94ea256ec1daa2f87b220b
- on RTL docs, scroll-right button arrows of statusbar and toolbar
were misaligned to the left. This is fixed with 'left: 0px'

Signed-off-by: Bayram Çiçek <[email protected]>
Change-Id: I5c837244352d37342864b7413f0546cae8c60a25
- Scrolling toolbar and statusbar with Shift + mouseWheelUp/Down
does not hide/show the scroll right/left buttons correctly.
Therefore, right/left buttons overlap with other elements.

All issues are fixed.

Signed-off-by: Bayram Çiçek <[email protected]>
Change-Id: I60608a8a1395d87911c520d265fce0c3b25d8da4
@bayramcicek bayramcicek force-pushed the private/bayram/scroll-bar-bottom branch from 7b05e43 to 88e852a Compare January 28, 2025 08:57
@bayramcicek bayramcicek requested a review from eszkadev January 28, 2025 09:05
to automatically bind 'this'.

Signed-off-by: Bayram Çiçek <[email protected]>
Change-Id: Ie80b750ade42c72285c116c0a0b75d6f9e0fa38c
@bayramcicek bayramcicek force-pushed the private/bayram/scroll-bar-bottom branch from 88e852a to 4607e27 Compare January 28, 2025 09:37
@bayramcicek bayramcicek requested a review from eszkadev January 28, 2025 09:41
Copy link
Contributor

@eszkadev eszkadev left a comment

Choose a reason for hiding this comment

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

Thanks, code looks good now :)
Nice small logically separated commits btw

@eszkadev eszkadev merged commit 2ae756d into master Jan 28, 2025
14 checks passed
@eszkadev eszkadev deleted the private/bayram/scroll-bar-bottom branch January 28, 2025 14:45
@bayramcicek bayramcicek removed the draft label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Scroll issues with toolbar and statusbar on LTR and RTL docs
2 participants