-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
improvementAn improvement / new feature ideaAn improvement / new feature idea
Milestone
Description
Since 1.17.1 the array method of the Elements class will update the DOM, this behavior is not what I expected and could potentially cause some problems (e.g. accidentally breaking the DOM).
To be honest, I don't think modifying arrays should update the DOM, this behavior seems counter-intuitive to me.
If this cannot be changed back, I suggest adding an ElementList class, which is equivalent to the previous Elements class.
The inheritance could be ArrayList -> ElementList -> Elements.
The two classes provide a method to convert between them.
Metadata
Metadata
Assignees
Labels
improvementAn improvement / new feature ideaAn improvement / new feature idea