-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Overflow menu opening not consistent with other flyouts #104
Comments
@gabbsmo - thank you for using hTWOo. The hover flyout is actually triggered on both interaction on hover as well as flyout. Screen.Recording.2024-02-15.at.15.38.23.movThe UX in Fluent Ui on the other hand only support the click event support. Even when on desktop, where hover usually works and gives you faster access to the menu entries you always have to click. This way you don't have any quick access by simply hover over the menu. In case of hTWOo you always have both options quick access on desktop by hover and toggle on click. While testing on mobile I recognise that the overflow button not always fires. This should be fixed soon. |
But the overflow flyouts are still different from the others in that sample. The others only respond to click. |
@gabbsmo Ahhh now I see. Fair point will make the other to trigger on hover on the arrow too. |
I found another inconsistency that unfortunately cannot be reproduced in Pattern Lab. This is the selector for displaying the flyout on hover: Notice that clicking requires @StfBauer What do you think about using something like this instead for the click activation? |
And another one. The overflow button does not have the same height as the other command bar buttons. It looks a little out of place. You can compare with Fluent React, where there is no difference in height between overflow and other command bar buttons. |
Sorry about the spam. Let me know if you prefer these as separate issues. In hwtoo Pattern Lab the background changes when overing over the overflow button, but not the other buttons in the command bar. In Fluent React all buttons have a background on hover. |
@gabbsmo thank you very much for your feedback. It was awesome working with you. I guess I fixed all the issues now for the Molecues - Command Bar with overflow |
Thanks @StfBauer! I looked in Pattern Lab and the hovering and clicking seem to be consistent now. However, if I inspect |
Now I guess we have it - 🤦♂️ looked at the wrong element. It's not yet published but if you are good with the fix I will send it out. |
Thanks. These changes are good. Did you look into my comment about the selector for click activated overflow flyout? I see no changes related to this. Either way, if you want to publish, go ahead :) |
Yeah maybe I do not understand fully what you mean. menu.hoo-cmdbar
div.hoo-overflow
<children>
div.hoo-buttonicon-overflow
button.hoo-buttonicon-overflow
menu.hoo-buttonflyout So this is the markup of the html - What do you like to do? |
I am wrapping the cmdbar and its children in custom elements. Does this example make more sense?
|
So we are talking about web components? For that I need to have a complete code example. |
It is AngularJS in my case. My point is that the selector that shows the flyout on click ( The selector for showing the flyout on hover ( I can try to produce a more complete code example if you still need it. EDIT: The selectors side by side for easier comparision |
I am a bit confused with this issue having both "help wanted" and "wont-fix". Is there anything I can do? |
It works in any other framework, so it must be a Angular JS related one. Since I have no idea and never wrote any Angular in my life it turned out its not really a bug but has something to do with potential limitations in Angular. I tried to loop in @chandaniprajapati on this but her time is a bit limited in the moment. You might also find help in an angular forum. |
Describe the bug
When clicking the toggle button for a flyout menu the sub menu will become visible or hidden. This does not work for the overflow button, that instead triggered by hovering.
To Reproduce
See Pattern Lab
Expected behavior
As in Fluent React, where both types of flyout menus are toggled by clicking.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: