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

Make QueryTable scrollable in Query Search page #1656

Merged
merged 1 commit into from
Nov 22, 2016

Conversation

vera-liu
Copy link
Contributor

Issue: After change in https://github.com/airbnb/superset/pull/1551, query search page is not scrollable because overflow is set to hidden for body

Solution: we want QueryTable to scroll but not the search selects
After:
giphy 9

Note:
After merging https://github.com/airbnb/superset/pull/1611, we need similar changes in QuerySearch to take height of select-boxes into account

needs-review @ascott @mistercrunch @bkyryliuk

queries={this.state.queriesArray}
actions={this.props.actions}
/>
<div className="scrollbar-container">
Copy link

Choose a reason for hiding this comment

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

how are you setting the height on the scrolling container? wonder if this is an opportunity to create a <ScrollingContainer /> component since we are using it in a few places..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Now I use 95% in height to allow space for navbar header, which is pretty hacky. There's another solution here https://github.com/airbnb/superset/pull/1611

@vera-liu vera-liu force-pushed the vliu_query_search_scrollable branch from 13f6815 to e6d4b6c Compare November 22, 2016 16:52
@mistercrunch
Copy link
Member

LGTM

@vera-liu vera-liu merged commit 10982de into apache:master Nov 22, 2016
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.14.0 labels Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants