paololeonardi / WaterfallGrid

A waterfall grid layout view for SwiftUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Initial number of columns incorrect when in landscape

youjinp opened this issue · comments

Summary
When the initial device orientation is landscape, the number of columns displayed is incorrect. The correct number of columns is displayed only after rotating to portrait and landscape again.

Expected
Screen Shot 2019-11-20 at 12 31 22 PM

Actual
Screen Shot 2019-11-20 at 12 31 08 PM

Env
Xcode 11.2, iOS 13.2, Swift 5

@youjinp thanks for raising and fixing the issue.