ion-grid doesn't render correctly in ion-item
See original GitHub issueBug Report
Ionic version:
[x] 4.x RC1
Current behavior: ion-grid doesn’t render grid layout - all columns are centered
Expected behavior: ion-grid must have same behavior inside ion-item as normally/without
our business app v3 example
Steps to reproduce:
- create ionic4 rc1 project
- add bellow code
- see result
Related code:
<ion-item >
<ion-grid >
<ion-row >
<ion-col>
<div>
1 of 2
</div>
</ion-col>
<ion-col>
<div>
2 of 2
</div>
</ion-col>
</ion-row>
<ion-row>
<ion-col>
<div>
1 of 3
</div>
</ion-col>
<ion-col>
<div>
2 of 3
</div>
</ion-col>
<ion-col>
<div>
3 of 3
</div>
</ion-col>
</ion-row>
</ion-grid>
</ion-item>
Other information:
this is important to create complex business applications with many informations - in master detail mode - eg. inventory countlist and their lines. (product code, name, qty, location…etc.) grid allow organise it in v3 well.
Ionic info:
Ionic:
ionic (Ionic CLI) : 4.7.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.0-rc.1
@angular-devkit/build-angular : 0.11.4
@angular-devkit/schematics : 7.1.4
@angular/cli : 7.1.4
@ionic/angular-toolkit : 1.2.2
System:
NodeJS : v10.13.0 (/usr/local/bin/node)
npm : 6.5.0
OS : macOS [Mojave]
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
ion-grid doesn't render correctly in ion-item #17075 - GitHub
Bug Report. Ionic version: [x] 4.x RC1. Current behavior: ion-grid doesn't render grid layout - all columns are centered.
Read more >Confused about ion-item usage - Ionic Forum
Those links are pointing to ionic 1.x, tried putting ion-list and ion-grid inside ion-item and they are not rendering properly.
Read more >Ionic app style not rendering properly - css - Stack Overflow
What I think is, on the first render for the ion-navbar; it is getting a child div element with class. toolbar-background-md. which has...
Read more >Ionic Responsive Design and Navigation for All Screens
For the dropdown we use some fixed values to position it correctly, and we also applied a hover to the items within the...
Read more >Ionic project not rendering in chrome properly - Reddit
Hi, I've just started learning Ionic framework with angular. I created ionic project in CLI and when the app starts in the live...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@trazek Awesome, thank you! I will take a look!
@brandyscarney I checked the visual tests in core and didn’t see any negative impact of adding this style.
https://github.com/ionic-team/ionic/pull/17258