fix(android): guard TextBase fontSize reset values#11222
Conversation
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe Android ChangesTextBase Android font size null-safety
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fixes #11221.
Summary
TextBasefont-size native setter so style resets do not crash whenfontSizeresolves tonullorundefined.{ nativeSize }default values.Reproduction
Using
nativescript-vue, toggling an inline font-size style off can reset the previous style value tonull:On Android, that reset can reach
TextBaseand throw:Testing
git diff --checklocally.No full NativeScript test suite was run locally because this clone did not have repo dependencies installed.