Lists are unfolded if an unrelated checkbox is checked while the cursor is still inside

Also related to this post: Nested lists unfold when pasting in the line above - #4 by dogshift

I think “checking” a checkbox uses the same copy+paste function under the hood. I’m seeing the same random unfolding behavior when I paste text ABOVE any folded list.