exportAsync is freezing UI

I am trying to grab the svg representation of some layers. When it comes to a layer with an image, it freezes the UI and the document itself until the svg string is returned.

Is there anything I can do to get round this?

Hi Pius! Our technical team can have a look into this issue. If you are still experiencing this issue, please fill out the form with a screenshot of what you see in our end (and the console log) here: https://help.figma.com/hc/en-us/requests/new