Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customized menu items revert to their original state in the prototype #399

Open
anselmo-ssoltech opened this issue Sep 13, 2024 · 1 comment
Assignees
Labels
figma support: question Community support but can be turned into an improvement

Comments

@anselmo-ssoltech
Copy link

anselmo-ssoltech commented Sep 13, 2024

Steps to reproduce

Link to live example:

Steps:

  1. Insert instance of Select or Autocomplete
  2. Turn on Active switch in order to activate menu list
  3. Customize values of menu items
  4. Turn off Active to close menu list and change State from Focused to Enabled
  5. Run prototype
  6. Click Select or Autocomplete instance to open menu list

Current behavior

Menu list popup shows original menu items - 3 Menu Items and 1 divider.

Expected behavior

Menu list popup should show customized menu items

Context

I tried to add an autocomplete instance with the menu items I wanted to my UI. When I run the prototype while the menu is open, the customized content displays correctly. However, if I run the prototype while the menu is closed, when I click to open the menu, the customized content disappears, and the menu items revert to the default settings from when the instance was first created. Since the UI typically starts with the menu closed, I think this issue is important.

Your environment

Software Version
Design file version v5.16.0
Design tool Figma
etc. Community

Search keywords: select autocomplete

@anselmo-ssoltech anselmo-ssoltech added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Sep 13, 2024
@adrianmanea adrianmanea self-assigned this Sep 13, 2024
@adrianmanea adrianmanea added support: question Community support but can be turned into an improvement and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Sep 13, 2024
@adrianmanea
Copy link
Collaborator

Hi Anselmo, that's correct , the overwrites get reset to the original state. The only way to keep your overwrites is to start the prototype with the Active set to true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
figma support: question Community support but can be turned into an improvement
Projects
None yet
Development

No branches or pull requests

3 participants