Skip to main content
Question

Figjam api returns true for section visible property even when section is invisible

  • September 4, 2022
  • 3 replies
  • 590 views

lepdev

Is this a bug ? I did hide section, still it returns true for visible property.

This topic has been closed for comments

3 replies

tank666
  • 4868 replies
  • September 4, 2022

No, this is not a bug. The Section is still visible on the canvas, so the visible property doesn’t change. The visible property is responsible for the visibility of the layer, and there is no API for hiding content in the Section.

Added sectionContentsHidden as a property on SectionNode.

More details:

figma.com – 19 Jul 23

lepdev
  • Author
  • 57 replies
  • September 4, 2022

ok thanks then is there a way to detect that state πŸ™‚


  • 0 replies
  • October 4, 2022

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings