Skip to content

#3476354 Fix flickering slots

Closes #3476354

In addition to fixing the flicker on hover, I took a moment to implement the 'empty slot' state as seen in https://www.figma.com/design/hOjDvI5yWMPdyugjpNuzW4/A--Experience-Builder?node-id=2991-23793&node-type=frame&t=CefUccZVYtxlQFAN-0

image

I also added a green border when hovering over the 'root' slot to make it easier to differentiate between dropping into a component slot or next to the component with the slot.

However I stopped short of adding the 'Add content' button as I'm concerned that both the addition of regions as slots and the work to replace the preview annotations with HTML comments will mean a lot of this code will be refactored/changed and didn't want to further complicate things in this MR.

Edited by Jesse Baker

Merge request reports

Loading