How can Rectangle Shapes be created without border using the web sdk v2?

  • 15 September 2022
  • 1 reply

Userlevel 1

I’m trying to create shape rectangles with custom border colors. I see we can do that in web sdk v1 and the rest API, but we can’t with the miro web sdk v2. (we have the border color param) (we DO NOT HAVE any params for controlling border/outline) 

Using websdk2, trying to create a shape with additional params not specified in the docs fails with error. but when using websdk1, it works.

My issues is related to: Text height not updating when programmatically creating Text widgets ( I am experimenting with creating rectangles. If text would work fine, i would not try to hack away at the rectangle shape. 

1 reply

Userlevel 6
Badge +4

Hi @Vlad Nicula,

Thanks a lot for raising this, and you bring up some very valid feedback. As you suspected, our V2 SDK doesn’t yet support shape border styling like our V1 SDK did. However, it’s something that’s on our radar, and we do hope to be able to support this in V2 soon.

To keep up to date on our progress, you can actually subscribe to this already existing feature request on our developer roadmap here.

Regarding the text item height observations in this thread, thanks for bringing this back to light—I completely agree it’s something that needs to be addressed. I will raise this again with our team to see if we can get some more traction on it.