The cell re-use in Global Search is more sensitive as it shows different types of content with different cell layouts. This PR fixes an issue where the cell's height was mismatching between heightForRowAtIndexPath and the content used in cellForRowAtIndexPath. Now, both use the same logic to retrieve the cell's height.
Summary for release notes
Bugfix: Ensure correct cell height in heightForRowAtIndexPath
Method heightForRowAtIndexPath shall use same logic as inside cellForRowAtIndexPath.
Description
Fixes an issue reported in this forum post.
The cell re-use in Global Search is more sensitive as it shows different types of content with different cell layouts. This PR fixes an issue where the cell's height was mismatching between
heightForRowAtIndexPath
and the content used incellForRowAtIndexPath
. Now, both use the same logic to retrieve the cell's height.Summary for release notes
Bugfix: Ensure correct cell height in heightForRowAtIndexPath