compose-collapsing-toolbar icon indicating copy to clipboard operation
compose-collapsing-toolbar copied to clipboard

Retain offset/progress when toolbar's height is changed

Open saket opened this issue 8 months ago • 0 comments

I have a toolbar whose content is loaded from the network. When the content is loaded, the toolbar's height can increase if if the content is longer than the placeholder. When toolbar changes its height, CollapsingToolbarScaffold gets pushed upwards. Can this be prevented? If the content has never scrolled, it'd be nice if CollapsingToolbarScaffold retained its 0.0 progress if the height was changed.

saket avatar Nov 03 '23 19:11 saket