Fix issue realtime title/description change CSS transition
What does this MR do?
Replaces nextTick
with setTimeout()
. nextTick
for some reason isn't waiting for the DOM to have been updated with the CSS classes before adding new ones. This was causing a bug in Safari where the fade transition wouldn't happen when the title or description had been updated.
Using a timeless setTimeout
fixes this as the browser correctly waits for the DOM to have been updated before calling the callback method.
What are the relevant issue numbers?
Closes #32932 (closed)
Edited by Phil Hughes