Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] ReactNative 0.76 Switch组件修改大小后显示错误 #1389

Closed
1 task done
gaozhe3321 opened this issue Oct 27, 2024 · 1 comment
Closed
1 task done

[Bug] ReactNative 0.76 Switch组件修改大小后显示错误 #1389

gaozhe3321 opened this issue Oct 27, 2024 · 1 comment
Labels

Comments

@gaozhe3321
Copy link

💬 Before You Start

  • I have searched the issues of this repository and believe that this is not a duplicate.

🙋 Description/Step to reproduce

React Native 0.76版本启用新架构
给Swtich组件设置style={{width:32, height: 16}}后,圆形滑块形状错误
微信截图_20241027164817

🔴 Version

5.2.3

💻 Environment

Android

⚫️ Output of npx react-native info

warn Package @ant-design/icons-react-native contains invalid configuration: "dependency.assets" is not allowed. Please verify it's properly linked using "npx react-native config" command and contact the package maintainers about this.
info Fetching system and libraries information...
System:
OS: Windows 11 10.0.22631
CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-12490F
Memory: 16.27 GB / 31.84 GB
Binaries:
Node:
version: 20.18.0
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 1.22.22
path: C:\Program Files\nodejs\yarn.CMD
npm:
version: 10.9.0
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels:
- "29"
- "30"
- "31"
- "33"
- "34"
- "35"
Build Tools:
- 30.0.3
- 33.0.0
- 34.0.0
- 35.0.0
System Images:
- android-31 | Intel x86_64 Atom
- android-35 | Google APIs Intel x86_64 Atom
- android-35 | Google Play Intel x86_64 Atom
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-242.21829.142.2421.12366423
Visual Studio: Not Found
Languages:
Java: 17.0.13
Ruby: Not Found
npmPackages:
"@react-native-community/cli":
installed: 15.0.0-alpha.2
wanted: 15.0.0-alpha.2
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.0
wanted: 0.76.0
react-native-windows: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: Not found
newArchEnabled: Not found

Additional comments

No response

1uokun added a commit that referenced this issue Nov 13, 2024
@1uokun 1uokun mentioned this issue Nov 14, 2024
1uokun added a commit that referenced this issue Nov 14, 2024
* feat: Modal add useModal(#1383)

* feat: Picker support modalType(#1383)

* feat: Carousel support onScrollAnimationEnd

* fix:[Form] fix Require cycle

* feat:[typescript] export all component types

* feat: Slider add disabledStep、onSlidingStart、onSlidingComplete prop

* fix: Tooltip safe floatingStyles

* chore: test

* feat: Slider add tapToSeek prop

* feat: typescript@5.6.2

* fix: Picker & DatePicker defaultValue prop works(#1331)

* fix: DatePicker children extra placeholder

* feat: refactor useTheme by lodash.mergewith

* 代码暂存

* feat: Toast support useToast (#1388)

* fix: Switch styles doc

* feat: Modal support animationDuration prop(#1386)

* Temp 5.2.4 (#1392)

* feat: refactor Slider

* feat: Toast support useToast (#1388)

* fix: Switch styles doc

* feat: Modal support animationDuration prop(#1386)

* feat: 5.3.0

* feat: react-native-reanimated@3.x not support jest snap (software-mansion/react-native-reanimated#6645)

* bump 5.3.0

* fix: Switch style in 0.76 (#1389)

* fix: Radio defaultCheck not works (#1380)

* feat: Upgrade react-native@0.75+
@1uokun
Copy link
Collaborator

1uokun commented Nov 14, 2024

fixed in 5.3.0

@1uokun 1uokun closed this as completed Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants