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
After pick a font from RichTextFont ListPicker and type some text, open the list picker again and the selection is wrong because the fontName was changed with the context.
Example:
Pick font -> San Franscico -> FontName : .SFUI
After edit context, the font now is TimesNewRonamPSMT so when open the list again, the font selection init from fontName 'TimesNewRonamPSMT' is not in the list. (it must be .SFUI)
The text was updated successfully, but these errors were encountered:
chanhdatng
changed the title
The RichTextFont.ListPicker with selection Context.fontName is wrong
The RichTextFont.ListPicker with selection Context.fontName is incorrect
Nov 11, 2024
Yeah, i found it the list is showing PickerFont init from UIFont.familyNames.
Actually when context change, it selected the first font of those FamilyNames.
Hope this will be fixed <3 and add animation scroll to selected font if moveSelectionTopmost is false
After pick a font from RichTextFont ListPicker and type some text, open the list picker again and the selection is wrong because the fontName was changed with the context.
Example:
Pick font -> San Franscico -> FontName : .SFUI
After edit context, the font now is TimesNewRonamPSMT so when open the list again, the font selection init from fontName 'TimesNewRonamPSMT' is not in the list. (it must be .SFUI)
The text was updated successfully, but these errors were encountered: