ionic-team / ionic-team/ionic-framework

feat: support dynamic tab button layout based on orientation

オープン
#27,429 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る
package: core type: feature request
主要言語
TypeScript
スター
52.7k
フォーク
13.3k
平均マージ
1日 15時間
マージ済み PR(30日)
51

説明

### Prerequisites

- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### Ionic Framework Version

v7.x

### Current Behavior

Guidelines: https://developer.apple.com/design/human-interface-guidelines/tab-bars

Natively (photos app), tabs look like this:
| Behavior | Native | Ionic |
|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Default tabs ✅ | | |

When the content is scrolled to the bottom, it functions like:
```html

```
But in ionic it stays the same:
| Behavior | Native | Ionic |
|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Scrolled footer ❌ | | |

When rotated to landscape mode, tabs look like this (text next to icon), but in ionic the text stays below the icon:
| Behavior | Native | Ionic |
|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Landscape mode ❌ | | |

### Expected Behavior

Should replicate native behavior

### Steps to Reproduce

Demo in https://ionicframework.com/docs/api/tabs

### Code Reproduction URL

https://ionicframework.com/docs/api/tabs

### Ionic Info

Ionic:

Ionic CLI : 7.1.1

Utility:

cordova-res : 0.15.4
native-run : 1.7.2

System:

NodeJS : v18.15.0
npm : 9.5.0
OS : macOS Unknown

### Additional Information

_No response_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。