Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Allow the sheet content to wrap according to the widget height provided to it. #13

Open
BobFactory opened this issue Sep 24, 2020 · 1 comment
Assignees
Labels
Feature A new functionality or feature

Comments

@BobFactory
Copy link

Hi,

Thanks for such a good library. I just have one problem, I have states in which the content of the sheet can be dynamically changed. Like in editing state I want to show an additional button of delete.
At present, the snap positions are what determines the height available for the sheet content. I want a feature where I can specify the starting point and the sheet determines its last snap position based on the height of the content. I think this will be a great feature to add to since this is like the basic functionality of a bottom sheet.

PS: Why does the content which is rendered SnappingContentSheet stretch it's content to the height. Why cant it just render it like. a column where the item wraps to its own height?

@AdamJonsson AdamJonsson self-assigned this Sep 29, 2020
@AdamJonsson AdamJonsson added the Feature A new functionality or feature label Sep 29, 2020
@letiagoalves
Copy link

this would be a really nice feature to have. automatically wraping to its content would open a lot of UX possibilities with dynamic interfaces.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature A new functionality or feature
Projects
None yet
Development

No branches or pull requests

3 participants