SidSidSid16 / WPapp

Xamarin.Forms Project to Turn Your WordPress Website Into a Native App
GNU General Public License v3.0
3 stars 1 forks source link

Grid row heights are too big for some cells #1

Open SidSidSid16 opened 4 years ago

SidSidSid16 commented 4 years ago

Describe the bug Cells for some rows are much bigger than the total height of their children.

To Reproduce Steps to reproduce the behaviour:

  1. Open the project in Visual Studio
  2. Clean and Build
  3. Run Android/iOS simulator
  4. Below the featured posts display, there will be more posts displayed in grids, the bug can be found here

Expected behaviour The row height is set to auto, therefore, the height must be just about big enough to fit its children. There shouldn't be any empty space below the content.

Screenshots Screenshot of iOS simulator showing the bug

Notice the empty space below the date and time text on the 2nd row, this row should not be this big.

Additional context A Stackoverflow post of this issue can be found here and another one can be found here

SidSidSid16 commented 4 years ago

Upon further investigation, the problem is due to the featured image of the post. Without the featured image being included in the frame, the grid seems to size the rows correctly. I've edited the original bug report to include another Stackoverflow question which I've posted.

With featured imagesWithout featured images