ScalingHeaderScrollView icon indicating copy to clipboard operation
ScalingHeaderScrollView copied to clipboard

Is there any way to handle dynamic height header?

Open vaibhavbansod opened this issue 3 years ago • 4 comments

vaibhavbansod avatar Aug 11 '22 09:08 vaibhavbansod

@vaibhavbansod hey, what do you mean by dynamic exactly? Please provide more details

f3dm76 avatar Aug 11 '22 09:08 f3dm76

Thanks for the quick response.

My header is a bit complex in design, and its height basically depends on its content. As of now, lib needs min and maxHeight. i don't have maxHeight of the header.

vaibhavbansod avatar Aug 11 '22 09:08 vaibhavbansod

You can use 'frameGetter' (from the lib or from the Internet), to dynamically calculate your content's size to pass it to the lib

f3dm76 avatar Aug 11 '22 09:08 f3dm76

Thanks. will try this

vaibhavbansod avatar Aug 11 '22 09:08 vaibhavbansod

Closing this one for now, please let me know if you have further issues

f3dm76 avatar Oct 13 '22 09:10 f3dm76