tradingview / charting-library-examples

Examples of Charting Library integrations with other libraries, frameworks and data transports
MIT License
1.32k stars 744 forks source link

Issue with iframe_loading_compatibility_mode in Mobile Browsers #364

Open geraldchen890806 opened 7 months ago

geraldchen890806 commented 7 months ago

I've encountered an issue when using TradingView in a mobile browser with the iframe_loading_compatibility_mode enabled. Specifically, after refreshing the page, the initialization of TradingView does not trigger the widget.onChartReady event.

This issue seems to occur only when the iframe_loading_compatibility_mode is active. It's impacting the user experience as the expected behaviors tied to the onChartReady event are not executed.

Could you please look into this matter and provide a fix or guidance on how to resolve this issue?

Thank you for your assistance.

romfrancois commented 7 months ago

Is your issue on Safari by any chance? If yes we've fixed an issue for onChartReady that was not always triggered after the first load of the page. Fix should be made available shortly.

If not, please provide the version you're on and a video highlighting the issue.