eatery-ios icon indicating copy to clipboard operation
eatery-ios copied to clipboard

Bottom of dinner menus getting cutoff

Open ReadeP opened this issue 6 years ago • 1 comments

To replicate the issue:

  1. Select North Star dining hall during breakfast
  2. Select dinner menu and scroll down to the bottom of the menu

If you select lunch then select dinner, the dinner menu will be fully displayed.

This bug can only be replicated during breakfast time, as the breakfast menu needs to appear first.

Simulator Screen Shot - iPhone 11 - 2019-10-22 at 10 28 15

ReadeP avatar Oct 22 '19 14:10 ReadeP

We are setting a height constraint on the page view controller based on the content size of the tableview. My hypothesis is that the tableview doesn't know its actual height until all the cells are reloaded.

The proper way to fix this would be to rewrite the meal view controller to use a stack view.

whoiswillma avatar Oct 22 '19 20:10 whoiswillma