-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Analyzer: Fix analyzer not initially visible on iOS 17.4 #2511
Conversation
When the analyzer was opened on iOS/iPadOS 17.4 devices, the screen stayed blank until the controls were opened. ECharts logged the following warning to the console: ``` [ECharts] Can't get DOM width or height.Please check dom.clientWidth and dom.clientHeight. They should not be 0.For example, you may need to call this in the callback of window.onload. ``` Reported on the community: https://community.openhab.org/t/openhab-4-1-release-discussion/152252/188?u=florian-h05. Signed-off-by: Florian Hotze <[email protected]>
Signed-off-by: Florian Hotze <[email protected]>
Job #1877: Bundle Size — 10.56MiB (~-0.01%).Warning Bundle contains 2 duplicate packages – View duplicate packages Bundle metrics
Bundle size by type
View job #1877 report View florian-h05:analyzer-ios174 branch activity View project dashboard |
Context? From your screenshots I assume iPad, but which iOS version? Which browser and which browser version? Have you tried reload app & clear cache and reload app from Help & About? |
Some more information. iOS 17.5.1 on an iPad 12, with Safari and Firefox. No different in the issue which browser I use. |
?? Can you please share the YAML Code of these chart pages? |
Another thing to try: Do the charts on the demo server work for you? |
I have the same issue with charts. They only work after the second time on iPad and iPhone. My config is...
|
Can you please create a new issue and provide the full context as requested by the template there? |
When the analyzer was opened on iOS/iPadOS 17.4 devices, the screen stayed blank until the controls were opened.
ECharts logged the following warning to the console:
This is more or less a workaround, since I cannot really debug on iOS as I have no Mac and BrowserStack does not provide iOS 17.4 devices at the moment. I have checked that this workaround does not affect other devices.
Reported on the community: https://community.openhab.org/t/openhab-4-1-release-discussion/152252/188?u=florian-h05.