callstack / callstack/react-native-paper

Appbar content Left

未关闭
#4,337 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Appbar bug
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

Hey, i m trying to set content or title on the left and actions on the right side.
But i m getting on ios title on center icons on left as suppose but i want to title to be on left corner.

So i put dummy back action and now works but this is workaround....

`

{title}

}
style={{alignItems: "flex-start"}
/>
{
router.push(CreateEventNavigationConstant.What);
}}
/>
{}} />
`

i want actually this:
![Uploading Screenshot 2024-03-11 at 11.18.51.png…]()

贡献指南

打开贡献指南

调研方向

从 Appbar.Header 和 Appbar.Content 的实现开始,在 iOS 上复现所提供的 JSX,并比较有无 dummy back action 时标题和 action 的位置。完成的标准是:无需该 workaround,标题可以保持在左侧,同时 action 保持在右侧,并且相关的 component test 覆盖了这一行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native
领域
frontend, mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。