You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After exporting as SVG, the drawing function behaves abnormally: the brush cannot cover areas that were previously (before exporting to SVG) erased with the eraser. At this point, you need to tap the screen with the eraser to restore normal functionality. Reset / Clear function cannot resolve this problem. This is clearly a issue. However, this issue does not occur when exporting as an image.
To Reproduce
This issue can be easily reproduced in the demo. Steps to reproduce the behavior:
Draw freely and use the eraser to remove some traces.
Export as SVG (for example, using the button in the demo).
Clear/reset the entire canvas.
Use the brush to draw again. Especially touch those areas earser touched before.
See error.
Expected behavior
Normally, after tapping the screen and drawing again, we shouldn't see the traces of the previous eraser and brush.
Screenshots
First draw and erase as you want.
After exporting SVG and clear the canvas using demo's button.
Now we can redraw and find the trace of eraser before.
Desktop (please complete the following information):
OS: Mac Pro M1
Browser Chrome
Other context
Acutally I found another bug before, that "when I was drawing and use the eraser to clean the canvas, all of the things will be removed if I 1. click the screen twice rapidly, and 2. click it once again". This bug is due to the canvas in my app is set with 'width: 100%, height: 100%' and no actual size (like '500px') is given. This seems not a big issue as an extra user work can handle it. However, I believe this may be solved as well so I can give a more detailed description if you want in another issue.
However, The problem in this issue cannot be solved as before so it is probably not because of the outer setting. It must be a component level issue.
The text was updated successfully, but these errors were encountered:
LBruyne
changed the title
Abnormal stroke after exporting SVG.
Abnormal stroke after exporting SVG and cleaning: the eraser trace cannot be removed
Oct 2, 2023
Describe the bug
After exporting as SVG, the drawing function behaves abnormally: the brush cannot cover areas that were previously (before exporting to SVG) erased with the eraser. At this point, you need to tap the screen with the eraser to restore normal functionality. Reset / Clear function cannot resolve this problem. This is clearly a issue. However, this issue does not occur when exporting as an image.
To Reproduce
This issue can be easily reproduced in the demo. Steps to reproduce the behavior:
Expected behavior
Normally, after tapping the screen and drawing again, we shouldn't see the traces of the previous eraser and brush.
Screenshots
First draw and erase as you want.
After exporting SVG and clear the canvas using demo's button.
Now we can redraw and find the trace of eraser before.
Desktop (please complete the following information):
Other context
Acutally I found another bug before, that "when I was drawing and use the eraser to clean the canvas, all of the things will be removed if I 1. click the screen twice rapidly, and 2. click it once again". This bug is due to the canvas in my app is set with 'width: 100%, height: 100%' and no actual size (like '500px') is given. This seems not a big issue as an extra user work can handle it. However, I believe this may be solved as well so I can give a more detailed description if you want in another issue.
However, The problem in this issue cannot be solved as before so it is probably not because of the outer setting. It must be a component level issue.
The text was updated successfully, but these errors were encountered: