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

visibility is not setting true on child element of absolutely positioned element. #24

Open
kunalns opened this issue Apr 16, 2018 · 2 comments

Comments

@kunalns
Copy link

kunalns commented Apr 16, 2018

Due to some the scroll is not on document in my app, it's on a element and because of this visibility is not setting true of it's child elements.

@oskarleonard
Copy link

Wrote a comment here #27 on how i think this could be solved

@korbav
Copy link

korbav commented Jul 9, 2020

@fkhadra Any update or action planned on this? It seems to be a pretty common use case

For the moment, a simple (but probably not performant) way to solve it is to forward the scroll event to the window :

const event = new Event('scroll');
scrollingDiv.addEventListener('scroll', () => window.dispatchEvent(event));

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

3 participants