Skip to content

Text hidden behind images shows on export #97

Description

@sawyerclick

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

  • I agree to follow figma2html's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions