Repository navigation
fix(swan): support hold-keyboard for input fields - #19494
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. Walkthrough本次变更为百度小程序的 Changes百度小程序表单组件支持
Estimated code review effort: 1 (Trivial) | ~3 minutes Merge Risk: ⚪ Minimal · up to This change enables the existing hold-keyboard option for Swan input and textarea fields while preserving current behavior when it is omitted; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 3 files. ✨ 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #19494 +/- ##
=======================================
Coverage 54.63% 54.63%
=======================================
Files 464 464
Lines 25391 25391
Branches 6354 6346 -8
=======================================
Hits 13872 13872
+ Misses 9641 9638 -3
- Partials 1878 1881 +3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
78d5e7a to
35fbcfd
Compare
这个 PR 做了什么? (简要描述所做更改)
Fixes #15572.
百度智能小程序的
input和textarea已支持hold-keyboard。本 PR:InputProps.holdKeyboard与TextareaProps.holdKeyboard补充swan平台标注;hold-keyboard;false,不改变未传入该属性时的行为。官方文档:
验证
corepack pnpm lintcorepack pnpm --filter @tarojs/plugin-platform-swan run buildcorepack pnpm --filter @tarojs/components run build:cihold-keyboard;修复后均生成该属性并保留false默认值@tarojs/componentsspec:70 suites / 106 tests / 35 snapshots 全部通过这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台:
Summary by CodeRabbit
hold-keyboard属性支持。