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

Bug: Escape closes Sidebar #255

Closed
niklas-wortmann opened this issue Feb 8, 2018 · 10 comments
Closed

Bug: Escape closes Sidebar #255

niklas-wortmann opened this issue Feb 8, 2018 · 10 comments

Comments

@niklas-wortmann
Copy link
Member

Pressing the Escape key, closes the Sidebar, but you can't open it again

@jsonberry
Copy link

jsonberry commented Feb 25, 2018

@jwo719 I was unable to reproduce this. Perhaps it was fixed, can you confirm?

Also, do you recall the browser you tested in?

@niklas-wortmann
Copy link
Member Author

Hi I could reproduce it in Chrome. You just have to click on an operator and during focus you could hide the sidebar with escape. But this bug also occurs in firefox. I don't want to test it in IE but I'm quite sure there is this bug also :D

@jsonberry
Copy link

Gotcha! Okay I was able to reproduce now. Thanks!

@knitcodemonkey
Copy link
Contributor

knitcodemonkey commented Feb 25, 2018

Pressing escape to close the sidebar was intentional. We wanted the ability to skip the menu, for accessibility reasons, after you selected the option you desired. You can open it up, again, by going to the menu and selecting operators.

The bug that does still exist is that on mobile, selecting an operator doesn't close the menu. You can press escape to close it manually, but it would be nice for it to automatically close as well. I've added a bug for that. #277

@jsonberry
Copy link

jsonberry commented Feb 25, 2018

@knittingcodemonkey Cool, that makes sense. Glad to hear it was intentional.

As the UX stands right now:

As a user
Given I am on an inner operator page
And it is not an operator at the top of the menu
And the sidenav is closed
When I select the button to open the sidenav
And I select operators
I start at the top of the list of operators 

Would it be better if...

When I select the button to open the sidenav
And I select operators
I start at the place I was at in the list of operators 

@knitcodemonkey
Copy link
Contributor

I do like the option of setting the focus, when you open the menu, to the page and/or operator on which you are currently located.

The bug for not closing the side menu on mobile sizes is #277. I just added it.

@jsonberry
Copy link

Thanks for making #277 I'll put some 👀 on it

@knitcodemonkey
Copy link
Contributor

Thank you for your help, and your contributions! You're doing great work.

@jsonberry
Copy link

Per the discussion here @jwo719 , can we close this issue?

I've opened #278 to capture UX improvements when reopening the sidenav.

@niklas-wortmann
Copy link
Member Author

closing due to #277

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants