While using mobile safari, I encountered an issue with the touchmove
event where changing the className
of an element did not result in an immediate visual change. The update only appeared at the end of scrolling or after an inertial scroll.
Is there a way to ensure that the visual change from updating the className
, innerHTML
, or style
properties happens immediately?
Additional Info: It seems this delay in visual updates is not specific to className changes but applies to any modifications made to the DOM elements.