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

Explore: Fix panes vertical scrollbar not being draggable #77284

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

Elfo404
Copy link
Member

@Elfo404 Elfo404 commented Oct 27, 2023

What is this feature?

Fixes vertical scrollbars i explore panes not being draggable.

We use 2 CustomScrollbar components in each Explore pane, one provides horizontal scroll for when a pane is < 600px wide, the other for when content overflows vertically.

Due to how they are positioned and rendered, the horizontal one was also rendering a vertical track (without showing the scrollbar) that was positioned on top of the actual vertical scrollbar, thus making it impossible to drag the latter.

By explicitly disabling the vertical track on the horizontal CustomScrollbar, the vertical track is not rendered, which makes it possible for the actual vertical scollbar to be dragged.

Why do we need this feature?

[Add a description of the problem the feature is trying to solve.]

Who is this feature for?

[Add information on what kind of user the feature is for.]

Which issue(s) does this PR fix?:

Fixes https://github.com/grafana/support-escalations/issues/8121
Fixes #77202

Special notes for your reviewer:

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

Copy link
Contributor

@harisrozajac harisrozajac left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this! 🥇

@Elfo404 Elfo404 merged commit dae49fb into main Oct 30, 2023
29 of 30 checks passed
@Elfo404 Elfo404 deleted the gio/fix/explore-vertical-scrollbar branch October 30, 2023 08:56
grafana-delivery-bot bot pushed a commit that referenced this pull request Oct 30, 2023
Explore: Fix panes verticall scrollbar not being draggable
(cherry picked from commit dae49fb)
Elfo404 added a commit that referenced this pull request Oct 30, 2023
…77344)

Explore: Fix panes vertical scrollbar not being draggable (#77284)

Explore: Fix panes verticall scrollbar not being draggable
(cherry picked from commit dae49fb)

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
ssama88 pushed a commit to ssama88/grafana that referenced this pull request Oct 31, 2023
)

Explore: Fix panes verticall scrollbar not being draggable
@aangelisc aangelisc modified the milestones: 10.3.x, 10.2.3 Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Explore: cannot click and drag scrollbar
3 participants