Deleting workspace comments sometimes throws console warnings #1848
Labels
component: comments
help wanted
External contributions actively solicited
issue: bug
Describes why the code or behaviour is wrong
low priority
Projects
Problem statement
Deleting a workspace comment by clicking on the "x" icon when it's selected deletes the comment, but throws warnings.
Expected Behavior
Comment is deleted and there are no warnings.
Steps to Reproduce
Stack Traces
Additional Information
This is because we're deferring some style changes to the end of the frame, and the relevant svg elements have already been deleted by then. The solution is probably to explicitly track whether the comment has already been deleted.
Relevant code in workspace_comment_render_svg:
The text was updated successfully, but these errors were encountered: