the-dataface / figma2html

Export Figma frames as responsive HTML and CSS
https://www.figma.com/community/plugin/1109185297790825980/figma2html
MIT License
48 stars 8 forks source link

Text hidden behind images shows on export #97

Open sawyerclick opened 1 year ago

sawyerclick commented 1 year ago

Describe the bug

Text can be layered behind an image or asset in Figma and will be hidden in the Figma UI. However, if the text or an ancestor is not hidden, that text will be placed above the image in the resulting export code because our rendered HTML does not respect layering and z-indexing

Reproduction

see frame #1280px here with the text nodes "Andaman & Nicobar" and "Lakshadweep" in "Group 1".

Export them and you will see them on that frame despite their laying making them hidden in the UI

Logs

No response

System Info

-

Severity

annoyance

Code of Conduct