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 Databricks Schema Browser scrollbar #5023

Merged
merged 2 commits into from
Jul 2, 2020

Conversation

gabrieldutra
Copy link
Member

@gabrieldutra gabrieldutra commented Jul 2, 2020

What type of PR is this? (check all applicable)

  • Bug Fix

Description

Issue: Double scrollbox on SchemaBrowser (the .schema-browser had an extra scrollbar)

This PR fixes the DB SchemaBrowser scrollbar by moving the border definition to an external wrapper as it seems the AutoSizer doesn't work that well when the parent has a border and creates an overflow.

I also took the opportunity and removed the scrollbar from the .schema-browser since after we update that component, it is the AutoSizer the one that contains the scroll.

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

Before
Screen Shot 2020-07-02 at 15 58 34
2 scroll areas were created

After
Screen Shot 2020-07-02 at 15 57 02
Only one scroll area remaining -> the one from AutoSizer

@gabrieldutra gabrieldutra merged commit 2f26cf7 into master Jul 2, 2020
@gabrieldutra gabrieldutra deleted the schema-browser-scrollbar-fix branch July 2, 2020 20:20
andrewdever pushed a commit to andrewdever/redash that referenced this pull request Oct 5, 2020
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.

2 participants