You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we can animate properties of a widget but there is a situation where things may change just after the animation starts, such that the animation is heading towards a situation that no longer makes sense. The Underline of Tabs is one good example, where the "slide" animation of the underline might be kicked off, heading towards a tab, that is subsequently removed while the animation is still happening. This can end up with the underline highlight being the wrong size, or even highlighting a tab that's no longer there because all tabs have been removed.
Given this sort of situation could happen with other widgets (an animation is seeking an end result that might not make sense by the time it ends), it would be useful if there was a way of cancelling any current animations on a widget.
The text was updated successfully, but these errors were encountered:
Ideally this would use something like what Textualize#2786 intends to add, but
meanwhile this solves the problem of ghost highlights in extreme situations
of adding/removing tabs.
Currently we can animate properties of a widget but there is a situation where things may change just after the animation starts, such that the animation is heading towards a situation that no longer makes sense. The
Underline
ofTabs
is one good example, where the "slide" animation of the underline might be kicked off, heading towards a tab, that is subsequently removed while the animation is still happening. This can end up with the underline highlight being the wrong size, or even highlighting a tab that's no longer there because all tabs have been removed.Given this sort of situation could happen with other widgets (an animation is seeking an end result that might not make sense by the time it ends), it would be useful if there was a way of cancelling any current animations on a widget.
The text was updated successfully, but these errors were encountered: