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

Grid '0' to hide the widget at certain size does not work #18

Open
devsportties opened this issue May 29, 2021 · 2 comments
Open

Grid '0' to hide the widget at certain size does not work #18

devsportties opened this issue May 29, 2021 · 2 comments

Comments

@devsportties
Copy link

I want to set the value '0' to the size 'xs', however, it still appears on the screen.

@BenjiFarquhar
Copy link

Yeah, this package is only very usable with this feature added in. The most basic and everyday use case is, say, you want to have a column full width on "xs" and "sm" size, then on "md" size, you want half width and a new column two half-width. But that means you need column two to be hidden on"xs" and "sm", and you can't do it.

@muhammad369
Copy link
Owner

muhammad369 commented Aug 25, 2023

Hi there

Excuse me for my 2-years-late response
I've just added this feature to the version that I'll upload soon

By the way, there are many ways to use the package, not necessarily by utilizing the ResponsiveGridRow
for your case you can use the responsiveValue() function and set width to different values (may be zero) for each size tier

It's also possible to put your widget inside a Visibility widget, and set different values for the visible property to each size tier , through the responsiveValue function

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