Replies: 1 comment
|
Example that works Example that does not work |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I found a problem with SVG files used directly in a FUXA View.
I am using FUXA 1.3.4-2890.
The SVG is displayed correctly, but when the SVG contains a group, the individual elements inside the group are listed in the View Item List with names such as svg_xxxxxxxx.
When I select one of these elements from the View Item List:
the element is correctly identified;
it can be resized;
it can be deleted;
the change is applied to the correct element in the View;
but the selection rectangle is displayed at the top-left corner of the View instead of around the actual element.
Example that works
The two paths appear correctly and selecting them from the View Item List also shows the selection correctly.
Example that does not work
The only difference is that the paths are grouped:
The SVG itself is displayed correctly.
However, when I select either path from the View Item List, the selection rectangle appears at the top-left corner of the View, not around the path.
The path itself is still correctly modified when I resize it, and it is correctly deleted when I delete it.
I also tested:
and
with the same result.
Interestingly, selecting the complete SVG works correctly: the selection surrounds the whole SVG and resizing it works normally.
I also noticed that SVGs imported through Image Tools as widgets do not seem to have this problem.
Thanks!
All reactions