NO BUG: SVG with Dynamic Data

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

The SVG element isn’t rendering with Dynamic Data within a query loop

Peculiar behaviour: Here the SVG element sits in a div below an Image element (both linked to same dynamic svg files). When Inspected (see screenshot) the SVG element is displayed within noscript tags (code is enabled). However, if the Image element is deleted leaving the SVG alone in the div, the div is displayed as empty in Inspector and the noscript tags removed

Hi Simon,
Thanks so much for your report!

Which ACF field type do you use for the SVG, and what does the loop look like exactly?

Best regards,
timmse

Hi Thomas - I use an ACF url field.
The query loop is an ACF Relationship which I thought might have contributed to the issue, but I tried on a very simple Query also and received the same results.

Ok, that will probably be the problem. Have a look at the note below the dynamic data field:

Please try again with the file or image file type :v:

1 Like

ah sorry I misunderstood this. Is there an opportunity to support a URL field in future?

Hey Simon, currently, it’s not planned, but you’re welcome to add it as an idea to the idea board: https://bricksbuilder.io/ideas/