Skip to content
This repository was archived by the owner on Oct 2, 2018. It is now read-only.
This repository was archived by the owner on Oct 2, 2018. It is now read-only.

Allow scrolling past document end #205

Open

Description

@twiss

Split out from #201.

It isn't very pleasant to type near the bottom of the screen all the time. Word processors solve this by dividing documents into pages, allowing you to scroll to the bottom of the current page. Some text editors (Sublime Text) solve this by allowing you to scroll one screen height past the end of the file. Line numbers indicate where the document stops.

Maybe it's an idea to increase the padding-bottom by more than 55px, and then add a visual indicator of the borders of the document? (E.g. a real border, or make the padding a different color, light grey or so.) OTOH, that'd make it less WYSIWYG.

Thoughts?

Activity

  1. ferndot commented on Nov 19, 2014

    @ferndot
    Member

    @twiss are you talking about desktop or mobile?

  2. twiss commented on Nov 19, 2014

    @twiss
    CollaboratorAuthor

    Both.

  3. ferndot commented on Nov 19, 2014

    @ferndot
    Member

    I would advise a small, darker, bottom border on mobile. On desktop, we could put the border on all sides.

  4. twiss commented on Nov 30, 2014

    @twiss
    CollaboratorAuthor

    There are basically two ways to do the actual scrolling past the document end (let's make this issue about that): with a correct scrollbar or with an unchanging scrollbar. Correct scrollbar is what Ace does: http://ace.c9.io/build/kitchen-sink.html. With an unchanging scrollbar is what Sublime Text does. On mobile it doesn't matter visually, but scrolling behavior will be different. We could even do both, depending on whether or not there's a visible scrollbar, if you prefer.

  5. ferndot commented on Dec 1, 2014

    @ferndot
    Member

    Can you post a screenshot of Sublime's system? I do not have access to it.

  6. twiss commented on Dec 1, 2014

    @twiss
    CollaboratorAuthor

    sublime-scrollbar-1
    sublime-scrollbar-2

  7. ferndot commented on Dec 1, 2014

    @ferndot
    Member

    I like the correct scrollbar because it does not imply that the document is longer than it truly is. This type of scrollbar, however, might be difficult to implement. I also hesitate to attach any scripting to a scroll event as it might cause performance issues.

    @jackd1 what are your thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions