aalok05 / CodeHub

A UWP GitHub Client
MIT License
177 stars 34 forks source link

Add a way to scroll/expand the readme when the screen height is too low #37

Closed Sergio0694 closed 7 years ago

Sergio0694 commented 7 years ago

As shown in the image above, when the screen height is too low (for example on a mobile phone, when in landscape mode), it's really difficult to scroll and read the readme. Possible solutions:

image

aalok05 commented 7 years ago

The third suggestion seems the best, I'll try to figure out parallax scrolling for this scenario, so that the top part of the page collapses when scrolled down.

Sergio0694 commented 7 years ago

I guess you could achieve that if you set the upper padding of the WebView to the height of the page header, and then make it so the page header has a non-transparent background that covers the first (empty) part of the WebView. Just be advised that working with a ScrollViewer inside a WebPage control can be difficult as it doesn't work exactly like a standard ScrollViewer.