ionic-team / ionic-team/ionic-framework
feat: support dynamic tab button layout based on orientation
- Vorherrschende Sprache
- TypeScript
- Sterne
- 52.7k
- Forks
- 13.3k
- Ø Merge
- 1 T. 15 Std.
- Gemergte PRs (30 T.)
- 51
Beschreibung
### 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_
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.