Skip to content
Snippets Groups Projects

#3476354 Fix flickering slots

Merged Jesse Baker requested to merge issue/experience_builder-3476354:3476354-slot-with-a into 0.x

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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading