You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most (if not all) of our SVG React components are generated with SVGR.
Using SVGR generates ids to the mask groups inside the given SVG, which are extremely likely to clash if there are two SVGRs in the same html layout, resulting in the later declaration of id properties to be used for the wrong SVGs.
We should take a look at all the SVG React components to name the mask ids to something less likely to clash.
Most (if not all) of our SVG React components are generated with SVGR.
Using SVGR generates
id
s to the mask groups inside the given SVG, which are extremely likely to clash if there are two SVGRs in the same html layout, resulting in the later declaration ofid
properties to be used for the wrong SVGs.We should take a look at all the SVG React components to name the mask ids to something less likely to clash.
See related issue in opengovsg/FormSG#5749
The text was updated successfully, but these errors were encountered: