Issue by busykai
Thursday Dec 11, 2014 at 18:34 GMT
Originally opened as adobe/brackets#10151
Fixes #10142.
Wait a little longer for the highlight element to take it's initial state. If
the element is not yet in its initial state, the transition does not happen. It
seems like on Firefox/Gecko it takes longer than on Chrome/Webkit.
This is a quote from MDN article on subject:
Care should also be taken when using a transition immediately after adding the element to the DOM using .appendChild() or removing its display: none; property. This is seen as if the initial state had never occurred and the element was always in its final state. The easy way to overcome this limitation is to apply a window.setTimeout() of a handful of milliseconds before changing the CSS property you intend to transition to.
CC:@dangoor,@redmunds
busykai included the following code: https://github.com/adobe/brackets/pull/10151/commits
Thursday Dec 11, 2014 at 18:34 GMT
Originally opened as adobe/brackets#10151
Fixes #10142.
Wait a little longer for the highlight element to take it's initial state. If
the element is not yet in its initial state, the transition does not happen. It
seems like on Firefox/Gecko it takes longer than on Chrome/Webkit.
This is a quote from MDN article on subject:
CC:
@dangoor,@redmundsbusykai included the following code: https://github.com/adobe/brackets/pull/10151/commits