bug[core, v5]: ion-content height 100% not inherited
See original GitHub issueBug Report
Ionic version: [x] 5.x
Current behavior:
In Ionic v5.x (current status, tested with @next
and master
) it will not be possible anymore to assign an height: 100%
to the slotted element of the ion-content
respectively such property will be ignored.
This would for example have for effect to break the GUI of our editor (see attached Gif).
The root cause of the issue, I think, is the recent introduction of the ion-content
shadowed child <div id="scroll-content"/>
(see related commit)
Expected behavior:
Still being able to use height: 100%
for the content with Ionic v5.x.
Steps to reproduce:
git clone https://github.com/peterpeterparker/ionic-v5beta-content-height.git
cd ionic-v5beta-content-height
npm install
npm run start
Related code:
See demo repo
Other information:
Demo of our application (gif):
Screenshots of the provided repo:
And a screenshot of the same repo with Ionic v4:
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (13 by maintainers)
Top Results From Across the Web
CSS: height 100% ignored in ion-content - Ionic Forum
That means: The parent element does not seem to have a height so the 100% height of my div element is ignored. Does...
Read more >ion-content height 100% bigger than screen - Stack Overflow
I need to build a single page vertically responsive, it needs to be full screen and no scroll. I've tried doing ion-content: {...
Read more >Ion-Content Height Is Not Contain In A Component - ADocLib
Community forum GitHub Education GitHub Stars program bug[core v5]: ioncontent height 100% not inherited #20185 element of the ioncontent respectively such ...
Read more >Webflow Basics | Greg Rog - Skillshare
This is a great introduction for those of you who have not dealt with Webflow yet, want to establish your foundations, or create...
Read more >NEOCUCULLOGRAPTINAE N. SUBFAM. (GRAPTOLITHINA ...
which enable subdivision of their lower member into 5 new graptolite zones. Occur- ... of a genetic polymorphism and not a permanent specific...
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
Thanks! This issue has been resolved via https://github.com/ionic-team/ionic/pull/20194. We will be putting out a new beta soon that has this fix.
should have refreshed the page before submitting my comments 😄 The latest build works now
5.0.0-dev.202001131622.bfc6420
Thanks @liamdebeasi!