Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

disable allow font scale doesn't work in button group #3969

Copy link
Copy link
Open
@frankA10019

Description

@frankA10019
Issue body actions

Is there an existing issue for this?

  • I have searched the existing issues

Explain what you did

I want to fix font size in buttonGroup. No matter I use Text with react native or react native elements. The font size can't be fixed. Please help, thanks.

<ButtonGroup
buttons={[
<Text
key={0}
allowFontScaling={false}
style={{ fontSize: 16 }}
>
選項 1
,
<Text
key={1}
allowFontScaling={false}
style={{ fontSize: 16 }}
>
選項 2
,
/>

Expected behavior

Font size should be fixed.

Describe the bug

Font size can't be fixed.

Steps To Reproduce

add text component in buttons.

Screenshots

No response

Your Environment

`npx @rneui/envinfo`
  ```
    Output from `npx @rneui/envinfo` goes here.
  ```

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.