BoldDesk®Customer service software offering ticketing, live chat, and omnichannel support, starting at $49/mo. for 10 agents. Try it for free.
Hello.
I'm using this Diagram widget inside of the Claris FileMaker Pro app. This app has a 'web viewer' object that renders HTML code (and all versions, including React, Vue, etc).
The diagram renders just fine in the desktop version of FileMaker. In its web-component, however, inside Safari, the diagram does not render correctly.
Here's what it looks like in Chrome:
And here's what's happening inside Safari:
The Diagram widget is, in both browsers, being rendered inside an iFrame (you can see that in the DOM).
In both instances, the Diagram is using the default grid background.
But in Safari, in an iFrame, the fill of the rect element is being filled with black because it can't find the #container_pattern.
<rect id="container_grid_rect">
If I render an instance of the Diagram inside Safari not in an iFrame the grid renders just fine.
I suspect it is an issue with how the FileMaker app is rendering elements in Safari and I've reached out to their support team. But I wanted to show you as well.
Do you have any thoughts on how to resolve this iFrame issue? I can use CSS or JS to fill in this <rect> element with a color, but cannot get the grid pattern back.
What's annoying is that in my specific instance of this, I'm not using the _default grid_. I'm using a custom-built grid that is sized based on the size of the diagram.
would you have any thoughts?
Thanks
Jeremy
Here are the elements of the page in both instances:
In Chrome (which is rendering a FileMaker Pro layout with a web viewer):
And in Safari (rendering a FileMaker Pro layout with a web viewer object).
Alright.
After a long break on this, I figured out a workaround. This seems to work for me. Not sure why the Diagram is adding the extra "blob" to the fill but this overr
Hi,
We have created a sample within <iframe> tag and checked in our local mac machine in the safari browser. We didn’t face black color rendering issue in the diagram. Refer the below sample for your reference. Could you please check the below sample in your application and FileMaker App. Still, if you face issues, provide us more details such as modify the below sample and share video of an issue. Also, please confirm us whether you are facing only with FileMaker App.
Sample
https://stackblitz.com/edit/as27cy-bnbxnv?file=index.html
Regards,
Moulidharan