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
Describe the bug
When changing the name attribute multiple time quickly on an sl-icon element, the icon that finishes fetching last is displayed, instead of the icon corresponding to the last value of name.
To Reproduce
Steps to reproduce the behavior:
create an icon with name="check"
change the attribute to name="x" and then back to name="check" before x has been completely fetched.
you will see icon x instead of check
Here is a fiddle to reproduce: https://jsfiddle.net/cnmod6sh/. By changing the timeout to 1000 you should see the expected behavior.
Expected behavior
The icon corresponding to the last value of the name attribute should be displayed.
The text was updated successfully, but these errors were encountered:
Describe the bug
When changing the
name
attribute multiple time quickly on an sl-icon element, the icon that finishes fetching last is displayed, instead of the icon corresponding to the last value ofname
.To Reproduce
Steps to reproduce the behavior:
name="check"
name="x"
and then back toname="check"
beforex
has been completely fetched.x
instead ofcheck
Here is a fiddle to reproduce: https://jsfiddle.net/cnmod6sh/. By changing the timeout to
1000
you should see the expected behavior.Expected behavior
The icon corresponding to the last value of the
name
attribute should be displayed.The text was updated successfully, but these errors were encountered: