SVG Preview failure with miro.board.ui.initDraggableItemsContainer()

  • 25 November 2021
  • 0 replies


I am having some problems with `miro.board.ui.initDraggableItemsContainer()` which I’ve demostrated in an example plugin:

GitHub Repository


Steps to reproduce

  1. Install the plugin
  2. Create a new board
  3. Click on the three dots (···) in the library toolbar on the left
  4. Scroll down in the library panel that opens, click on the link “🐞 Library”
  5. Drag any of the items onto the canvas

What I expect

A preview of the selected element should show that includes the text of the element that is being dragged (e.g. “Please drag me (A)”).

What happens instead

Only the color shows. The text does not get rendered. Additionally the positioning is very weird when the width and height of the image are returned as part of the preview URI (see Providing the encoding results in no preview at all (see

What is going on here? Any tips? Or is this a bug?

Cheers, Marijn

0 replies

No replies yet...