ui: Fix LoadingLabel animation panic on CJK/emoji text (#45632)
MomentDerek
created
This PR fixes a crash in LoadingLabel where the loading animation
progressively revealed text by slicing with byte offsets (.len()), which
can panic for UTF-8 multi-byte characters (e.g., CJK) and emoji.
Release Notes:
- Fix a crash in LoadingLabel’s loading animation when displaying CJK or
emoji text.