The method `transition.begin(....)` adds some styles to the DOM element. How to remove those styles at the end of the transition?