Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make switching to and from the preview mode more convenient #22726

Merged
merged 2 commits into from Aug 16, 2022

Commits on Aug 16, 2022

  1. compose: Refocus composebox when clearing prevew mode.

    When switching back to writing mode after preview mode, the composebox
    would be out of focus and so the the cursor would semingly get lost.
    
    Now on clearing the preview mode, the composebox is focused and so the
    cursor is seen blinking at it's original position.
    N-Shar-ma committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    a264fe6 View commit details
    Browse the repository at this point in the history
  2. compose: Focus 'Write` button on entering preview mode.

    Till now, switching back to writing mode after preview mode, needed
    the user to first focus on the `Write` (unpreview) button by tabbing
    to it (if using keyboard) and then select it.
    
    To make things easier, especially when using keyboard, now the `Write`
    button will be automatically focused on entering preview mode, so
    going back to writing mode only needs one 'Enter` keystroke.
    N-Shar-ma committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    3d862bf View commit details
    Browse the repository at this point in the history