SOLVED: Context Menu in Structure panel doesn't close after Insert/Wrap/Convert actions

Bricks Version: 1.5b
Browser: Chrome

Nothing more to say :wink:

Hi Yan,
then we can mark the problem as solved :slight_smile: Just kidding… It would be great if you could say something more about it because sometimes it closes, sometimes not.

The question is when should it close and when not? In general, I find it advantageous that it stays open, for example, when inserting an element (when you click on the icon), because you can insert multiple DIVs, for example, instead of having to right-click every time.

What is your opinion on this?
Best regards,
timmse

So it seems that dropdown stays OPEN after click on Insert/Wrap/convert ICONS, but CLOSES when clicking the Insert/Wrap LABELS.

I’m really not sure I will insert/wrap/convert multiple times in a row :wink:
Should close each time for me.

NOTE: When clicking on Convert label, menu closes but no action taken.
(See WIP: Structure panel dropdown Convert button doesn't work like Wrap and Insert - #2 by timmse)

I’m pretty sure you want the menu to stay open if you want to add more than one div inside a container or section :wink:

When wrapping and converting it actually makes less sense from my point of view, since the original element is still selected. I will discuss this with the team :slight_smile:

Best regards,
timmse

I think if I actually need to add several divs, I would do it with the ā€œ+ā€ button and left panel.

I use structure panel for adjustments or duplicate/move, copy styles, or when absolute or z-index stuff prevents me from selecting element in canvas.

But when I build, it’s always via left panel.

Maybe you could close dropdown after a delay, like 1s or 2s, if no more click?

There’s another issue with this :wink:

When clicking on an icon, since menu doesn’t close, you don’t see what was done, because dropdown is above the inserted/wrapped/converted element.

It is very misleading because as the menu stays open and you don’t see anything changed in structure panel, you can think nothing happened, and click again, and maybe again…

This is all very unnatural to me.

Or maybe add a green message popup to say ā€œDiv insertedā€ so that we know that something actually happened? (Like copy/paste messages.)

Hey Yan,
Do you still encounter issues with the context menu?

As far as I can see, in Bricks 1.5, it works as it should :slight_smile:

Best regards,
timmse

Welcome back @timmse. We were missing you. Where did you go man?

Thanks @omega ,
Covid knocked me out :mask:

1 Like

Great you are back now. Take care… :sunglasses:

1 Like

Take care! We all missed you.

1 Like