-
Notifications
You must be signed in to change notification settings - Fork 32
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
Overflow child components #19
Comments
@daimagine This is a known bug, React-Infinity expects to be full width when being rendered. There is probably a simple workaround, I will get back to you with that. |
Can you wait for one day, this is a simple bug-fix, I'll fix it later today? So that you can stay prepared, you will need to write a function that returns the width and height of the available viewport for React-infinity. The function will look something like this:
After I fix this bug, React infinity will let you pass this function as an optional prop. |
Any updates on this? Is it possible to place my elements inside a container? How can I set a div container for React-Infinity? |
Fixing this caused a bigger re-write. In-progress. Sorry, can't give a very good ETA. |
Hi again,
I found an issue today. I use a sidebar for navigation and ReactInfinity is in content side on the right side.
In mobile view grid displayed correctly, grids divide evenly and fill the screen correctly.
But in desktop mode, the grid is overflowed onto right side so the rest of child component is not shown or clipped.
this is my gist https://gist.github.com/daimagine/e5e11a3a85118f6b5d9c
Please help me find what is wrong with my grid
Best regards,
The text was updated successfully, but these errors were encountered: