nevyn / SPStackedNav

Apache License 2.0
7 stars 0 forks source link

Add support for size classes #2

Open nevyn opened 6 years ago

nevyn commented 6 years ago

When in "compact" size class, make full-size and half-size panes always behave as full-size.

Also, make gesture recognizers behave well for full-size panes in a way so that only a light swipe can navigate back/forth, instead of requiring a swipe across the whole pane.

Also, in compact mode, add visual affordance to show whether there are panes to the left or right of the current one, so that you know if you are in the bottom, middle or top. (Maybe by showing 3pt of each card to the left and right of the current one along the edges)

nevyn commented 6 years ago

Also, make gesture recognizers behave well for full-size panes in a way so that only a light swipe can navigate back/forth, instead of requiring a swipe across the whole pane.

This is the only proper blocker for using this class on iPhone IMO. Right now it requires a REALLY heavy gesture all the way from the left to right edge to navigate back, instead of just a light swipe.