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

Scrolling with Flyout #3269

Closed
ghost opened this issue Apr 7, 2020 · 3 comments
Closed

Scrolling with Flyout #3269

ghost opened this issue Apr 7, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 7, 2020

Taking a look at the Flyout examples, specifically I noticed two things. First, the super select's dropdown floats on it's own separate from the input bar when opened. Secondly, once you reach the bottom of the flyout content, it starts to scroll the main content underneath. Is there anyway to keep the superselect in tact in a flyout and lock the main content while the flyout is active?

image

@snide
Copy link
Contributor

snide commented Apr 7, 2020

This popover issue is noticed and tracked here. #1023

Secondly, once you reach the bottom of the flyout content, it starts to scroll the main content underneath.

This is normal browser behavior when there are multiple scrolls on a page. It can be "fixed" by setting ownFocus on the flyout, which forces the body height to 100%. In general, using ownFocus is preferred, but hasn't been set as a default since it would require a sizable upgrade downstream.

Closing this issue, but please feel free to ask questions if either answer isn't satisfactory.

@snide snide closed this as completed Apr 7, 2020
@ghost
Copy link
Author

ghost commented Apr 7, 2020

I'm not really seeing a clear answer in that issue. I see something about a container prop but on which component cuz it doesn't seem to be documented

@snide
Copy link
Contributor

snide commented Apr 7, 2020

Sorry, it's not an answer. It's that the issue is already tracked so this issue is a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant