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

Unable to disable absolute positioning for Bootstrap grid #548

Open
johnkeates opened this issue Jul 13, 2023 · 2 comments
Open

Unable to disable absolute positioning for Bootstrap grid #548

johnkeates opened this issue Jul 13, 2023 · 2 comments
Labels

Comments

@johnkeates
Copy link

Description

I would like to disable the absolute positioning inline styles for the grid so the visual rendering is managed with bootstrap CSS alone. Right now it's a bit mixed where resizing the window from a small viewport to a big viewport causes the tiles in the grid to overlap. Doing it the other way around (from big to small) causes the resized grid to have huge gaps because it doesn't shrink correctly.

I tried using various combinations of isConstantSize, isEqualSize, transform, rounded etc. but I suppose the issue here is the split between managing the final CSS for the rendered items separately from the grid code.

@daybrush
Copy link
Member

sorry.

Currently, Grid and InfiniteGrid operate with javascript, not css.

That's why position: absolute basically works.

Not now, but someday it will support position: relative style of behavior.

@johnkeates
Copy link
Author

Alright, that makes sense then. I'll use it as-is since it does work great already 👍 Thanks for your reply!

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

No branches or pull requests

2 participants