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

Props and Vars are not selectable #40

Open
daprieu opened this issue Sep 29, 2023 · 1 comment
Open

Props and Vars are not selectable #40

daprieu opened this issue Sep 29, 2023 · 1 comment
Labels
info-needed issue requires more information

Comments

@daprieu
Copy link
Contributor

daprieu commented Sep 29, 2023

How to reproduce

In a project where data is being returned from the data function on a page

  1. add a text component
  2. switch text prop to variable
  3. Props will show for half a second and then disappear

Describe the bug

Variable bind and code bind are almost unusable as I can not select the data flowing in. I have to know the shape of my data and manually write it.

Expected behavior

data flowing in should persist in the props and vars section of the code bind picker

Operating System

macOS 13.5

Clutch Version

Desktop: 1.204.0 | Interface: v1.205.11

Other

Screen.Recording.2023-09-29.at.9.19.34.AM.mov
@andressaroberts
Copy link
Contributor

Hey, @daprieu . Can you check if the problem still persists after this update?

You need to update @clutch-creator/bridge to version 7.0.1 . If for some reason the picker is still acting up OR you want to workaround and have the fix in production already, you need to disable react strict mode. To do this, open the project next.config.js and add the flag: reactStrictMode: false and reopen the project.

@andressaroberts andressaroberts added the info-needed issue requires more information label Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed issue requires more information
Projects
None yet
Development

No branches or pull requests

2 participants