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

BUG: React Custom UI Modal Unable to display Code #6308

Open
2 tasks done
maxming2333 opened this issue Nov 13, 2024 · 2 comments
Open
2 tasks done

BUG: React Custom UI Modal Unable to display Code #6308

maxming2333 opened this issue Nov 13, 2024 · 2 comments

Comments

@maxming2333
Copy link

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

130.0.6723.117

Reproducible demo link

https://stackblitz.com/edit/grapesjs-react-custom-ui?file=src%2FApp.tsx

Describe the bug

How to reproduce the bug?

  1. open https://grapesjs-react-custom-ui.stackblitz.io/
  2. click this button
    image
  3. no code to show in Modal
    image

What is the expected behavior?
show code in Modal

What is the current behavior?
no code to show in Modal

Code of Conduct

  • I agree to follow this project's Code of Conduct
@danstarns
Copy link
Member

Hi @maxming2333, try clicking anywhere inside the highlighted area in the text box, for me it loads the code...

Screen.Recording.2024-11-19.at.23.21.03.mov

@maxming2333
Copy link
Author

Hi @maxming2333, try clicking anywhere inside the highlighted area in the text box, for me it loads the code...

Screen.Recording.2024-11-19.at.23.21.03.mov

Yes, it can indeed be displayed after clicking on the pop-up window area, but it should be displayed as soon as the pop-up window is opened, not after clicking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants