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

Issue with the official Figma library's <DataGridTable> component when Prototyping #343

Open
CropsterPauline opened this issue May 6, 2024 · 1 comment
Assignees
Labels
bug 🐛 Something doesn't work figma

Comments

@CropsterPauline
Copy link

CropsterPauline commented May 6, 2024

Description:

When using the component and replacing the default cell text with custom text, the custom text reverts back to the original text upon interacting with the component in Figma's prototype mode. This behavior prevents the intended functionality from being showcased accurately in the prototype.

Steps to Reproduce:

  • Open a new Figma file.
  • Import the Material Design UI library.
  • Add a component to your project.
  • Double-click a cell within the table to edit its text.
  • Replace the default text with your own custom text.
  • Switch to Figma's prototype mode (Prototype > Enter Prototype Mode).
  • Interact with the cell containing the custom text (e.g., click, hover).

Expected Behavior:

The custom text entered in step 4 should remain visible and interact as intended within the prototype, regardless of user interaction.

Actual Behavior:

The custom text reverts back to the original text upon interacting with the cell in prototype mode.

Additional Information:

Figma Version: 116.18.6
Material Design UI Library Version: 5.16.0

Possible Cause:

I have noticed that the names of the cell components within the DataGridTable have been overwritten (from <DataGrid | Cell> to Cell mui/material-ui#1, Cell mui/material-ui#2 and so forth). Resetting the names back to the original component's did not solve the issue, however.

I would appreciate it if you could investigate this issue and provide a solution or workaround to allow custom text within the component to persist during Figma prototyping.

Thank you for your time and support.

Sincerely,
Pauline

Search keywords:

Search keywords:

@github-actions github-actions bot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 6, 2024
@zannager zannager transferred this issue from mui/material-ui May 6, 2024
@zannager zannager added the figma label May 6, 2024
@adrianmanea
Copy link
Collaborator

Hi Pauline, I believe we had a support question as well regarding this issue. We are aware of the issue of contents resetting when interacting in prototype mode. I think Figma doesn't work well on prototype mode when we have nested instances. Keeping the name layer naming doesn't seem to solve the problem.

@adrianmanea adrianmanea added bug 🐛 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work figma
Projects
None yet
Development

No branches or pull requests

3 participants