-
Notifications
You must be signed in to change notification settings - Fork 4
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
TypeError: null is not an object (evaluating 't.detail.render') #73
Comments
Hi @mhenrixon, Thank you for opening this Issue. |
To my knowledge, it does not happen in the other browsers, just Safari. |
Ok good to know thanks! I've tried several different Turbo Stream responses but so far couldn't reproduce this issue. Or if that's not possible, could you maybe give some insight on the following questions:
|
Weird, I'll see if I can try it in a project that is using importmaps. esbuild is complete garbage since everything ends up in application.js with all variables garbled for terseness. |
Not 100% sure, but the reason for the garbled variable and functions may be the esbuild minify option. Depending on how you've configured esbuild, you maybe can disable the minify like so |
Might just be Safari that is messed up! I can't for the life of me figure out what is going on but Safari is behaving weirdly. I switched over to Firefox today for most of the day because of random weird behaviors in Safari. I'll keep digging but it could be on my side. |
Thanks for the update. |
Hi @mhenrixon, thanks for the video! It seems connected to the "Monitor Events" feature. Especially to the monitoring of the "turbo:before-fetch-request" event. Don't have a solution yet, but I'm on it. Will keep you updated. |
@mhenrixon, I'm still not 100% sure what is going wrong here. If you still experience issues, feel free to reopen this issue. |
For the Safari extension, I had to disable the dev tools because they crashed when rendering the detail of what I guess is the frame (not many places call
detail.render
).Unfortunately, it is hard to debug it in this project because we are forced to use esbuild. However, it seems to work fine in the other browsers.
So, what I do is:
. It is pretty standard erb html soup:
The text was updated successfully, but these errors were encountered: