-
Notifications
You must be signed in to change notification settings - Fork 255
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
feat: Toast RN & 鸿蒙 适配 #2299
base: dev-harmony
Are you sure you want to change the base?
feat: Toast RN & 鸿蒙 适配 #2299
Conversation
鸿蒙和rn的换行截断demo未适配成功,函数调用demo需要修改一下demo样式,rn弹出样式居中偏下, |
1)鸿蒙和rn的换行不支持,已屏蔽; |
src/packages/toast/demo.taro.tsx
Outdated
<Demo5 /> | ||
</div> | ||
{/* rn和 鸿蒙不支持 break-all */} | ||
{Taro.getEnv() === Taro.ENV_TYPE.HARMONYHYBRID || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
需要合并下 dev- harmony 的代码,环境判断使用 harmonyAndRn() .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Walkthrough此次更改集中在多个组件的优化与重构,旨在提升模块化、改善可读性和增强用户交互体验。通过调整样式、更新文档及重构部分功能,整体应用的灵活性和可用性得到了显著提升,显示出对用户需求的更好响应。 Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Toast
participant Demo
User->>Toast: Show Toast Notification
activate Toast
Toast-->>Demo: Render Notification
deactivate Toast
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (9)
Files skipped from review due to trivial changes (3)
Files skipped from review as they are similar to previous changes (5)
Additional comments not posted (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (1)
src/packages/watermark/doc.taro.md (1)
15-16
: 优化文档描述建议更详细地描述单行文本、多行文本和图片支持的具体用法,以便用户更容易理解。
- 包含单行文本、多行文本、支持图片。 + 支持单行文本、多行文本和图片水印的使用。
🤔 这个变动的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
☑️ 请求合并前的自查清单
Summary by CodeRabbit
新功能
Demo
组件,提高了模块化和可重用性。Toast
组件添加了新的样式参数,增强了通知的外观。样式
.nut-toast
组件的样式,增强了响应性和适应性。