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
{{ message }}
This repository was archived by the owner on Sep 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 23, 2026. It is now read-only.
Truncated “More” link in Korean when lineBreakStrategy = .hangulWordPriority is enabled #97
When using Korean (ko) localization, and applying an NSAttributedString with NSParagraphStyle.lineBreakStrategy = .hangulWordPriority, the “More” link (e.g. "더 보기") at the end of the collapsed text does not render fully. Only the first part ("더") is displayed, and the rest ("보기") is cut off.
This issue seems specific to the hangulWordPriority line breaking strategy, which attempts to avoid breaking compound Hangul words inappropriately. However, in this context, it appears to interfere with the collapsed label logic, miscalculating available space for the link.
Issue:
When using Korean (ko) localization, and applying an NSAttributedString with NSParagraphStyle.lineBreakStrategy = .hangulWordPriority, the “More” link (e.g. "더 보기") at the end of the collapsed text does not render fully. Only the first part ("더") is displayed, and the rest ("보기") is cut off.
This issue seems specific to the hangulWordPriority line breaking strategy, which attempts to avoid breaking compound Hangul words inappropriately. However, in this context, it appears to interfere with the collapsed label logic, miscalculating available space for the link.