Open Doberman2029 opened 1 year ago
Can you share code/repo? Can't reproduce
Yeah, sure https://github.com/Doberman2029/react-ts-tradingview-widgets-error To reproduce it is important to slow down the speed of the Internet. And you need to switch from the page with the chart instantly, while, as I understand it, the data for the chart is being loaded
@JorrinKievit Hey Jorrin. Do you have some news about problem?
Nope, haven't had the time to look into it.
@JorrinKievit Hello, Jorrin. Haven't been able to see the issue yet?
I have, but to be honest i have no idea on how to fix it yet. It's quite time consuming too to debug external behaviour of iframes. I dont wanna come across as mean, but if you have the time please feel free to clone and see if you can figure it out ;D
I tried to fix. But also no result :)
Ye it for sure is an interesting one, ill take a look again this weekend but don't keep your hopes up haha
Hoped to fix it with the fix i just did for the other issue, but no luck :(. To be honest i have no idea what is happening haha
I think the problem is that if the widget gets data after leaving the page with the widget it tries to rerender itself. But since he no longer sees the container with the given id it's drawn on the entire page and breaks it
Bug Description The graph opens on top of the entire application, and breaks the entire page in nextjs projects
Steps to Reproduce
Additional Context Video with error error.webm