Hi Valentin,
Which version of UI5 you're currently using ? - Also, what event are you listening and the code inside the event.. very likely you are modifying one attribute and UI5 is just "re-writing" a bunch of stuff in the DOM.. very common to happen.
Cheers,
Dan.