Skip to content

Update Resize Splitter commands to account for multiple columns #7436

Closed

Description

@melissa-barca

Navigating to View >> Panes gives you the following options to adjust pane splitters: Adjust Left Splitter, Adjust Right Splitter, Adjust Center Splitter. If a user adds additional source columns to their layout, there is no way to adjust the splitter to the left of these columns via the keyboard. Selecting Adjust Center Splitter always adjusts the right most vertical splitter.

Today selecting the Tab Key after one of these options removes focus from the splitter. I propose changing the name of Adjust Center Splitter to Adjust Vertical Splitters and configuring a keyboard shortcut (possibly Shift + Tab?) to switch between the vertical panes, regardless of how many there are.

Activity

  1. added this to the v1.4 milestone on Jul 23, 2020
  2. melissa-barca commented on Jul 23, 2020

    @melissa-barca
    ContributorAuthor

    @gtritchie do you have any further thoughts on this?

  3. gtritchie commented on Jul 24, 2020

    @gtritchie
    Member

    Idea One

    Your idea, have a shortcut that moves between vertical splitters (or all splitters?). At first I didn't think this was a good idea because making that shortcut discoverable would be tough. With the current behavior we shouldn't use Tab or Shift+Tab because those are expected to move between focusable elements on the page in DOM order.

    There is a draft ARIA model for this, but it brings up more questions than answers especially for our multi-pane layout, here: https://www.w3.org/TR/wai-aria-practices/#windowsplitter

    Idea Two

    Extend the current model and dynamically add new menu commands for resizing each existing source column. "Resize source column one", etc.

    Idea Three

    Only have a single command for "resize current source column". This command would only be enabled when a source column is selected, and put focus on the vertical splitter on its right. In theory you could have this command show up as a button in each source column's toolbar, though I think that would be overkill.

    Personally, I think "three" is the simplest extension of what we already have. It's all a bit clunky, but at least we provide a way to do this via keyboard which is more than most comparable UIs do.

  4. self-assigned this
    on Aug 27, 2020
  5. rich-rstudio commented on Sep 8, 2020

    @rich-rstudio
    Contributor

    verified on Version 1.4.752

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions