I also ran into similar kind of bug where . remove , . removeChild was behaving kinda wierd. If anyone could help me out with it please.
Remove was Removing elements but i was not able to append elements by another function , On the other hand removeChild gave me power to remove , append elements from different eventlistners.