thingworx-field-work / SvgViewerWidgetTWX

Thingworx widget for runtime display and manipulation of a SVG
ISC License
16 stars 6 forks source link

Rendering issues on iPAD Pro/Safari #38

Closed ulfyson closed 1 year ago

ulfyson commented 2 years ago

We have used this really good widget in a customer project. We have an issue where rendering the SVG works perfectly on PC/Chrome, but have issues on Safari on an iPAD. The rendering sometimes leaves a blank image and sometimes a half image. Pinch/Zoom back and forth a couple of times brings back the full image. We have tested both with very simple SVG's like a "Machine light-tower" and complex process images. They behave in the same way.

One strange thing though is that we have a collection widget for navigating and the contained navigation mashup has the small machine light tower SVG, and that one works well in that environment.... But if it is put in a full mashup (loaded with the same data) it doesn't work 100%.

Is this something that has been seen before?

stefan-lacatus commented 2 years ago

I'm afraid I haven't seen this issue.

Can you share a quick reproducible example of this issue? This would include:

ulfyson commented 2 years ago

Thank's. It seems like Apple have done something because we have seen it on other systems also.

Entities.zip

We are running ThingWorx 9.3.1-b156 with ThingWorx Flow 9.3.1.

I have attached the entities and the SVG.

ulfyson commented 2 years ago

Hello Stefan! Any updates on this? Have you been able to reproduce it? Regards Ulf

stefan-lacatus commented 1 year ago

Sorry or coming back to this so late. Thank you for providing the entities.

I've tested extensively against the latest version but wasn't able to reproduce the error on my ipad, against the latest widget version.

I'm going to close this, please let me know if this is still an issue