Repository navigation
React Native Paper 6.0.0-alpha.3: try it in your app #5226
Doberjohn
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
React Native Paper 6.0.0-alpha.3 is on npm under
alpha:It is a prerelease for trying the upgrade before the beta, and APIs can still change. Start with the migration guide and the 6.x getting started guide. 6.x needs React 19 and the New Architecture.
What changed since alpha.2 is in the release notes below: four breaking changes (props in place of values read from
style, 48dp touch targets, handler-less TouchableRipple, Icon'ssourcetype), a keyboard focus ring on every interactive component, and overlay dismissal and focus handling.Known issues: on Android the back button doesn't close an open
FAB.Menu(the same in alpha.2), and on the web a closedFAB.Menu's items are still Tab stops. Both are tracked for a fix before the beta.Please reply here with what you find, or open an issue with
6.0.0-alpha.3in the title, your platform and your React Native and Expo versions. Missing or wrong migration notes count too. The plan and the merge order are in #5150.6.0.0-alpha.3 is the third prerelease of React Native Paper 6, for trying the upgrade before the beta. Install it with
npm install react-native-paper@alpha. APIs can still change.Migration guide: https://oss.callstack.com/react-native-paper/6.x/docs/guides/migration
Breaking since 6.0.0-alpha.2: components no longer read values out of
style, so Reanimated styles work on them, and those values become props:backgroundColorand the border radius on Appbar,backgroundColoron Avatar,borderColoron Card andiconSizeon Button (#5114); interactive components reach a 48dp touch target throughhitSlopwithout growing on screen (#5108); a TouchableRipple with no press handler renders a plain view and is no longer announced as a disabled control (#5071); Icon'ssourceprop is typedIconSourceinstead ofany(#5212).Also new: a Material 3 keyboard focus ring on every interactive component (#5107, #5223); Android back and web Escape close only the topmost overlay, and focus moves into a Modal or Dialog and back when it closes (#5175); TouchableRipple on iOS and Android takes a function as
childrenandstyle(#5046); the theme drops__proto__,constructorandprototypekeys (#5198); IconButton content stays centered (#5014).6.0.0-alpha.3 is the third prerelease of React Native Paper 6, for trying the upgrade before the beta. Install it with
npm install react-native-paper@alpha. APIs can still change.Migration guide: https://oss.callstack.com/react-native-paper/6.x/docs/guides/migration
Breaking since 6.0.0-alpha.2: components no longer read values out of
style, so Reanimated styles work on them, and those values become props:backgroundColorand the border radius on Appbar,backgroundColoron Avatar,borderColoron Card andiconSizeon Button (#5114); interactive components reach a 48dp touch target throughhitSlopwithout growing on screen (#5108); a TouchableRipple with no press handler renders a plain view and is no longer announced as a disabled control (#5071); Icon'ssourceprop is typedIconSourceinstead ofany(#5212).Also new: a Material 3 keyboard focus ring on every interactive component (#5107, #5223); Android back and web Escape close only the topmost overlay, and focus moves into a Modal or Dialog and back when it closes (#5175); TouchableRipple on iOS and Android takes a function as
childrenandstyle(#5046); the theme drops__proto__,constructorandprototypekeys (#5198); IconButton content stays centered (#5014).6.0.0-alpha.3 (2026-11-16)
Bug Fixes
checkbox: clear the focus ring when onPress is removed (#5223) (8787d4b)
keep icon button content centered (#5014) (ead3e55), closes #4829
theme: drop prototype keys from the theme and its overrides (#5198) (243b9f7), closes #5027
touchable-ripple: support function children and style on native (#5046) (69b8d85)
fix!: don't expose handler-less TouchableRipple as a disabled control (fix!: don't expose handler-less TouchableRipple as a disabled control #5071) (484a0c6), closes #5071 #5070 #4844
fix!: expand interactive targets to the 48dp minimum (fix!: expand interactive targets to the 48dp minimum #5108) (a9cc9b3), closes #5108 #5079
fix(icon)!: type the source prop as IconSource (fix(icon)!: type the source prop as IconSource #5212) (0c9b7af), closes #5212
feat!: replace style-derived values with props (feat!: replace style-derived values with props #5114) (af124d6), closes #5114
Features
BREAKING CHANGES
buttonwhen they have no touch handler, so passdisabledinstead of leaving outonPress.hitSlopnow works on web,IconButtonfeedback no longer follows corner radii set instyle,borderlessno longer clips children on web, and taps in aChip's close column callonCloseinstead ofonPress.styleno longer sets Appbar's background or radius, Avatar's background or Card's outline color: use the new props. Appbar's height includessafeAreaInsets. UseiconSizeandtextColorfor Button's icon, and a View around Tooltip for positioning.All reactions