ionic-team / ionic-team/ionic-framework

feat: fixed toolbars with iOS large header

未关闭
#22,898 0 条评论 6 个 reaction 已指派 0 人 在 GitHub 查看
package: core type: feature request
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 15 小时
30 天内合并 PR
51

描述

# Feature Request

**Ionic version:**

[x] **4.x**

**Describe the Feature Request**

Just mentioned this in the native GitHub App: The Searchbar and other Toolbars seems to have the option to be fixed to the large header and don't collapse on scroll (with Ionic the Toolbars are collapsed currently).

I think this is different from `slot="fixed"` as these toolbars are within the header and also change the background color with it.

**Describe Preferred Solution**

Maybe a **collapse** attribute for `ion-toolbar` which indicates the wanted behaviour.

贡献指南

打开贡献指南

调研方向

Start by reviewing the Ionic 4.x ion-toolbar and header behavior, then compare it with the native GitHub App example shown in the issue. Define how a toolbar inside the header should remain fixed to the large iOS header and transition its background while scrolling; done means it no longer collapses like the current toolbars.

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

评估

技术栈
ios, typescript
领域
frontend, mobile-dev
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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