• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Stack does not resize when component state changes

New Here ,
Dec 16, 2022 Dec 16, 2022

Copy link to clipboard

Copied

I am trying to create a working treeview. On the design end ir works as expected, but when I try to preview, it displays the open state on top of the other options. I am doing something wrong? Please advise.

 

Screenshot 2022-12-16 at 10.18.31.pngScreenshot 2022-12-16 at 10.18.43.png

This is what hapens on the previewScreenshot 2022-12-16 at 10.19.07.pngScreenshot 2022-12-16 at 10.19.14.png

Views

245

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2022 Dec 16, 2022

Copy link to clipboard

Copied

Hi @andrease93915661 ,

It's hard to tell without seeing the file but I'd try to create a simple example form scratch to see what's wrong, you can compare with the other simple example (maybe even in a different file). Feel free to share a sample or actual file with us. Hope this helps!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 16, 2022 Dec 16, 2022

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 17, 2022 Dec 17, 2022

Copy link to clipboard

Copied

LATEST

Thank you for sharing, I'll check and share if I find out anything useful (hoping to 🙂)
Edit: As you can see in the link https://xd.adobe.com/view/c7710326-a684-4d47-87e4-cd99297e10b0-9222/ , I managed to fix it by making the whole dialogue box a component and  creating a "1-open" state to define the whole trrview's behaviour, since it looked like the only solution to me. Another key point is turning off the stack, since it causes the overlay problem in also my solution. I remember Matt Rae had made a tutorial explaining the technique: https://www.adobe.com/ch_it/products/xd/learn/design/layout/create-dropdown-menu.html

You can see the file here: https://www.dropbox.com/s/cqdbl2v72hzmqf5/treeview-edit.xd?dl=0 Hope this helps! 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines