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

Double clicking needed to add menu item #18329

Closed
karmatosed opened this issue Nov 6, 2019 · 8 comments · Fixed by #18379
Closed

Double clicking needed to add menu item #18329

karmatosed opened this issue Nov 6, 2019 · 8 comments · Fixed by #18379
Assignees
Labels
[Block] Navigation Affects the Navigation Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@karmatosed
Copy link
Member

The flow right now seems to not need the extra step of setting me out to then click in to add again. Here is what happened:

nav-throwout

@karmatosed karmatosed added [Type] Enhancement A suggestion for improvement. Needs Design Feedback Needs general design feedback. labels Nov 6, 2019
@mtias
Copy link
Member

mtias commented Nov 6, 2019

This happens intermittently for me.

@shaunandrews
Copy link
Contributor

I'm not able to reproduce this, and it seems more like a bug that a "design feedback" issue.

@shaunandrews shaunandrews added [Type] Bug An existing feature does not function as intended and removed Needs Design Feedback Needs general design feedback. labels Nov 6, 2019
@mtias mtias added [Block] Navigation Affects the Navigation Block and removed [Type] Enhancement A suggestion for improvement. labels Nov 6, 2019
@mapk
Copy link
Contributor

mapk commented Nov 7, 2019

I'm able to reproduce this. However, I have no idea what's going on and am completely confused by this interaction.

add-item 2019-11-06 16_42_14

@getdave
Copy link
Contributor

getdave commented Nov 7, 2019

I have been able to replicate this and it's consistently one of the worst pieces of the interaction and UX. We'll look into the technical reasons behind this. Thanks for raising @karmatosed!

@draganescu
Copy link
Contributor

I wonder if the quick fix isn't simply not showing the appender when a menu item is being edited?

@draganescu draganescu self-assigned this Nov 7, 2019
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Nov 7, 2019
@draganescu
Copy link
Contributor

My initial idea was to hide the appender when the menu item is in edit mode. However the problem is that it is not immediately clear what to do to get the appender back.

So, I discovered the problem was the fact that when the appender is clicked the menu item UI shrinks because it is deselected and the appender moves away from below the cursor, and the focus event which should insert a new menu item doesn't fire anymore.

I made a PR that sets the appender absolutely positioned, but not sure this is the best approach yet. Any advice welcome.

@apeatling
Copy link
Contributor

I can reproduce it consistently, just select a menu item then try and hit add:

2019-11-07 14 06 21

@renatho
Copy link
Contributor

renatho commented May 21, 2021

Just for reference, maybe the origin of this issue was what is being fixed here: #29911

This could cause some weird errors like that by recreating the appender component instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Affects the Navigation Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants