This PR improves the animation behaviour of searchbar after leaving iPad fullscreen, and alongside makes some coding style changes.
Resolves an issue where list view's searchbar became shortly visible when animating from iPad fullscreen back to grid view by hiding the searchbar (dataList.tableHeaderView) once the list view is moved to invisible area.
Avoids a distracting animation of the list view's searchbar when animating back from iPad fullscreen to list view by setting the inset to list view's top.
Coding style changes (toggleFullscreen re-indentation and removal of unneeded parameter)
Summary for release notes
Improvement: Avoid glitches of searchbar animation when leaving iPad fullscreen
Description
This PR improves the animation behaviour of searchbar after leaving iPad fullscreen, and alongside makes some coding style changes.
dataList.tableHeaderView
) once the list view is moved to invisible area.toggleFullscreen
re-indentation and removal of unneeded parameter)Summary for release notes
Improvement: Avoid glitches of searchbar animation when leaving iPad fullscreen