SVG drawing feels quite sluggish, particularly on mobile (stops rendering after a few lines). Performance optimisations to:
Track list of previous segments separate to active segment to avoid re-calculation and re-rendering of segments already completed
Add id property to segments
Add tolerance parameter to ignore adding new points when user has not moved much (lots of events/duplicate points fired before user has had a chance to move hand)
Fix issue where pointerup event not always detected
TODO
[ ] fix storing final path for future render/edit
[ ] further testing on mobile
[ ] integrate into budget tool
Discussion
Feedback discussion points if relevant (should also tag as Feedback Discussion)
Preview
Link to app preview if relevant
Screenshots / Videos
Include at least 1-2 screenshots of videos if visual changes
Description
SVG drawing feels quite sluggish, particularly on mobile (stops rendering after a few lines). Performance optimisations to:
TODO
Discussion
Feedback discussion points if relevant (should also tag as
Feedback Discussion
)Preview
Link to app preview if relevant
Screenshots / Videos
Include at least 1-2 screenshots of videos if visual changes