It's possible to instead of giving a fixed height to the component, make it fit the content?
Im trying to implement https://github.com/ptnz/react-native-google-places-autocomplete/ a search bar that suggests places using google api, but it loads a view that fits the container when something is searched, it works correctly until it's inside the ScrollingAppBarLayout as it has to have a fixed height or leaving it empty means that will fit the entire window even if nothing is searched.
That's indeed a limitation of both AppBars, i am still trying to approach a better way to render custom components inside AppBars, but it isn't easy as i thought, for now, it only works with Toolbars.
It's possible to instead of giving a fixed height to the component, make it fit the content?
Im trying to implement https://github.com/ptnz/react-native-google-places-autocomplete/ a search bar that suggests places using google api, but it loads a view that fits the container when something is searched, it works correctly until it's inside the ScrollingAppBarLayout as it has to have a fixed height or leaving it empty means that will fit the entire window even if nothing is searched.
thanks