T
TanStack2mo ago
funny-blue

Google Chrome crashing when interacting with forms

I'm developing an application using React and Vite. I added the Tanstack Router. After that, every time I interact with a form element, such as an input or a submit event, my browser crashes and I can't interact anymore. This only happens in Google Chrome or browsers based on them, such as Arc Browser. For Firefox-based browsers, it works normally.
5 Replies
funny-blue
funny-blueOP2mo ago
In fact, the error also occurs in Firefox-based browsers, but the trigger for the problem is different, it's when I start typing in the field.
firm-tan
firm-tan2mo ago
do you have a complete example?
funny-blue
funny-blueOP2mo ago
@Manuel Schiller I found out what was causing this, it was because of my root file configuration, I'm using the "Document Head Management" configuration example to manage page titles, but when I add the html inside the root, it breaks because of vite's index.html, could you help me? I believe this is not the correct configuration for Vite, there must be a right way to do this
No description
No description
No description
firm-tan
firm-tan2mo ago
a complete example based on one of the router examples on stackblitz would be helpful
funny-blue
funny-blueOP2mo ago
For now I removed the html and body tags from the root file and it seems to work fine. Thank you for your attention

Did you find this page helpful?