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

Widget shows Typeform homepage when using React library #652

Closed
MaticConradi opened this issue Jun 20, 2024 · 1 comment
Closed

Widget shows Typeform homepage when using React library #652

MaticConradi opened this issue Jun 20, 2024 · 1 comment

Comments

@MaticConradi
Copy link

The provided Nextjs code example displays the Typeform homepage in the embed instead of the provided form. I would like to note that I'm using Nextjs with the app directory, which has apparently not been tested. Manually importing the library as a script and doing it the old fashioned way also doesn't work; the form shows properly on initial load, but doesn't work when navigating from and then back to the (sub)page - though I assume this also has something to do with how Nextjs routing works. I have not done any digging beyond that.

@mathio
Copy link
Contributor

mathio commented Jul 16, 2024

@MaticConradi did you manage to resolve your issue? If not, please refer to my changes in a recent PR #657 I am updating demo-nextjs to latest version of next and also including examples for the App Router. I did not run into any issues. Hope this helps 🤞

If not, feel free to reopen this issue with a reproducible example (a CodeSandbox or Github repo). Thanks.

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