mozillabrasil / sumo_live_helper

Helper Add-on for SUMO forum contributors
https://addons.mozilla.org/firefox/addon/sumo-live-helper-/
Mozilla Public License 2.0
7 stars 8 forks source link

Popup menu "flickers" when opened #128

Closed jhonatasrm closed 3 years ago

jhonatasrm commented 4 years ago

Actual behavior When the popup menu is opened he "flickers" to adjust the size.

Expected behavior Define the minimum size of the popup menu in that manner he will be opened more smoothly. You can also define the font size, the distance between the components...feel free to implement the solution that you think is best.

🙂

Popup Menu

dannycolin commented 4 years ago

When the popup menu is opened he "flickers" to adjust the size.

Aha, Strange. It doesn't on Linux.

Define the minimum size of the popup menu in that manner he will be opened more smoothly.

What do you mean by that?

Sidenote, I really wonder why the sidebar icon in the popup menu isn't on the same line as the other icons. There's plenty of space.

jhonatasrm commented 4 years ago

What do you mean by that?

If you define a minimum size the popup already starts with a size defined and doesn't need to adjust... But looking with more calm, the popup doesn't change the size to fit the elements, the sidebar icon is a little bit lost...

Sidenote, I really wonder why the sidebar icon in the popup menu isn't on the same line as the other icons. There's plenty of space.

Yeap.. is a good question...

WesleyBranton commented 4 years ago

I think I'm going to add a loading spinner over all of the content until the popup or sidebar loads. I've noticed a lot when working with the mobile content that it takes the computer a fraction of a second to adjust the UI and hide certain elements, so it might be nicer just to cover everything until it's adjusted.