Hey!
I haven't found anything about this in the docs or in when googling but is there a function like with the modals to click outside a container to close it?
If not I think this might be a neat feature!
Additionally, is there a way to disable the grid?
While often it is quite useful, sometimes it feels like an item is either just a tad bit too big or a tad bit too small.
This logic can be triggered in a number of ways, from click events to setting the value to a variable and flipping the value of a variable between true and false.
For some context, the container component is used to fit and organize sub components, in a grid or stack. Modals are the best component for hiding/showing logic as they are built for that.
Also for disabling the grid, you can switch it to 'Stack' and the sub-components in a container will descend vertically instead!
Maybe for your use case you will want to have a container in a modal
Thank you for your reply!
I felt like it was a good look to have a container in which one edits data but it felt clunky to close the little window manually with a close button, hence I felt like clicking anywhere outside the container seemed like a nice way.
Its not a big deal though!
Thanks for the added context. Containers don't have any 'close' functionality, but they can be made invisible and you may be able to re-size them programmatically.
Up to you! I would say that if another user is searching for similar information that my comment could be useful to them, and marking it will make it easier for them to find!
But modals will close when a user clicks outside of them.