Is there a way to make this responsive? #210
Unanswered
FranciscoG
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Great library!
I was curious if there was a way to make the tiles responsive for smaller screens. Would be cool if the "direction: row" changed to a column on smaller screens.
For now, I am kind of hacking it using window.matchMedia and a window resize listener, but that re-renders everything. I would prefer to have it naturally just re-order using styling if possible.
I'm going to poke around in the CSS to see if I can make this happen
Below are 2 ways I've tried that I was considering "hacky" but maybe they are fine:
and optionally, we just change the object being passed to
initialValue
Beta Was this translation helpful? Give feedback.
All reactions