flutter / website

Flutter documentation web site
https://docs.flutter.dev
Other
2.84k stars 3.24k forks source link

Add Top button for easily reaching the top page #1950

Open mshwf opened 5 years ago

mshwf commented 5 years ago

Page URL: https://docs.flutter.dev/get-started/flutter-for/xamarin-forms-devs Page source: https://github.com/flutter/website/tree/main/src/get-started/flutter-for/xamarin-forms-devs.md

Description: Please add Top button, it's extremely important for long web pages, when reading from cell phones. Instead of running my fingers on the screen.

chalin commented 5 years ago

@galeyang @InMatrix - I've been increasingly testing the site from mobile as well, and I've felt this need too, especially because several site pages are very long. Any feedback concerning this?

As you might recall, I had implemented (via #1271) a "scroll to top" button based on the webdev site implementation, but we decided against it because it wasn't in the original design (cf. #1272).

IIRC Daniel had suggested that if we choose implement such a feature, it should be a floating FAB in the lower right corner.

cc @maguinis @kwalrath

InMatrix commented 5 years ago

Sounds reasonable to me. It would be mostly for Android phone users though, since on iOS you could just tap the top of the screen. It would be nice if we can avoid showing this button on Mobile Safari.

galeyang commented 5 years ago

Agreed with this issue. The proposal of floating button in lower right corner sounds good because we won't able to see fixed table of content on a narrow screen, like mobile.

sfshaza2 commented 5 years ago

I like this idea, though I'm not sure @chalin has time for this before he leaves.

InMatrix commented 5 years ago

@galeyang and I are assigned to the issue, but I think fixing this issue requires a developer. I will unassigned Gale and I for now. Hope we will have resource to add this simple feature on mobile soon.