Logic Machine Forum
Internet Explorer 11 and rounding boxes issue - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Internet Explorer 11 and rounding boxes issue (/showthread.php?tid=1862)



Internet Explorer 11 and rounding boxes issue - Thomas - 25.01.2019

Hi
Do you know a trick how to get out these strange borders around any SVG object?


The only browser I've met this problem is an obsolete IE11 and actually dying Edge. But unfortunately I need to use it.


RE: Internet Explorer 11 and rounding boxes issue - admin - 25.01.2019

Try Right click > Inspect element and see if it has a border in Computed tab.


RE: Internet Explorer 11 and rounding boxes issue - Thomas - 26.01.2019

I see nothing special here. I'm afraid there's something missing instead of wrong.


RE: Internet Explorer 11 and rounding boxes issue - Thomas - 26.01.2019

Simply wow
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7340561/

And the winning workaround is to use iframe (Frame in LM Visu Designer) and path to SVG picture instead of "picture".


RE: Internet Explorer 11 and rounding boxes issue - admin - 26.01.2019

This can be fixed differently, wait for Monday Wink


RE: Internet Explorer 11 and rounding boxes issue - admin - 28.01.2019

Add this to Custom JavaScript:
Code:
$(function(){
  $('object').each(function(index, el) {
    var obj = $(el);
    
    obj.clone().appendTo(obj.parent());
    obj.remove();
  });
});



RE: Internet Explorer 11 and rounding boxes issue - Thomas - 28.01.2019

Hi Admin
Thank you.
But what is the performance impact of this solution? I'm not sure if I understand what this script does. Does it simply copy all objects and then destroys the original object? Which means 1000+ objects in my case?


RE: Internet Explorer 11 and rounding boxes issue - admin - 28.01.2019

This only affects SVGs that are placed as image elements, not object icons. And yes, it creates a copy and removes original element.