Skip to content

feat: allow font scaling prop for Text and TextInput - #342

Open
FarzamYousuf wants to merge 1 commit into
hoaphantn7604:masterfrom
FarzamYousuf:allowfontScaling
Open

feat: allow font scaling prop for Text and TextInput#342
FarzamYousuf wants to merge 1 commit into
hoaphantn7604:masterfrom
FarzamYousuf:allowfontScaling

Conversation

@FarzamYousuf

Copy link
Copy Markdown

This PR adds a new prop allowFontScaling to the Text and TextInput components in the library.
Enables control over font scaling behavior for better accessibility support.
Users can now enable or disable font scaling as needed to improve UI consistency across different device settings.
Updated related tests and documentation to reflect the new prop.
This change improves flexibility in text rendering and helps developers manage font scaling according to their app’s design requirements.

@robbieweber25

Copy link
Copy Markdown

Bump to this request. We're using this library and are being negatively impacted by not being able to disable scaling functionality.

@carlos3g

Copy link
Copy Markdown

@FarzamYousufallowFontScaling is shipped on Dropdown, MultiSelect and the search input in the maintained fork @carlos3g/element-dropdown starting v2.13.0. Closes #248 / #341. Drop-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants