Skip to main content
Solved

BUG: Preview not preserving hide/show in component instances...until you manually swap with preview open


Jeffrey_Johnson

I have created an interactive dropdown component with ~10 items that can be hidden or shown, but are shown by default.

When editing an instance, I have no problem hiding items to create a dropdown with the correct number of options. And, as long as my component instance is in the “expanded” state, all of the hide/shows are preserved when the component is interacted with.

However, if the component is in the “collapsed” state, then when previewing the interaction the component defaults to the master component’s hide/show.

Imgur

…until I swap variants with the preview open. Then it starts working.

Imgur

Best answer by tank666

Nested-List component don't update overwritten labels - Prototype bug - #4 by tank666.

View original

4 replies

tank666
  • 4862 replies
  • Answer
  • October 26, 2023

Jeffrey_Johnson

Hey tank, thank you for the reply. However, I don’t think your previous replies quite solve my issue. I have a hidden list and identical structure/naming scheme across both variants:

Again, this structure has no problem preserving things like text changes, and does remember to hide/show items when used as an instance…it just doesn’t work in preview.


Jeffrey_Johnson

Ok, after some experimentation, (I ended up deleting and re-adding the “collapsed” variant and re-hiding the “Drop Items” menu. Thank you Tank666!


tank666
  • 4862 replies
  • October 26, 2023

Could you share a link to the example file?


Reply


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