-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
When I have a drawing of a rectangle that when I have a function to select/unselect, then it gives a runtime error.
I have the sample also do circles and triangles. In those cases, no problem.
I even have 2 pages where one is selected to begin with and another one is unselected to begin with.
In those cases, its correct to begin with.
The issue is only with rectangles.
Expected Behavior
What I expect is to have the change done to the image that contains the rectangle instead of runtime error.
Steps To Reproduce
Go to this github repository that duplicates the problem everytime.
https://github.com/musictopia2/SvgRectangleBug
Click the 2 rectangle pages.
Then click on the image.
Everytime, the runtime error happens.
However, if you click the circles or the triangles, then it does what is expected.
Exceptions (if any)
Error: Cannot remove attribute from non-element child
.NET Version
6
Anything else?
No response