Can't start with height different than `auto`
See original GitHub issuehttps://codesandbox.io/s/olmwx35wky
As you see from the example, the initial state will always be auto
, and only after you toggle it twice you get it to 100%
.
Is this a known bug? Any workaround available?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
why height:auto doesnt work correctly? - Stack Overflow
I have 2 questions : why element #post doesn't stretch enough to cover the image ? although i set height:auto . why this...
Read more >Wrap text does not adjust row height in Excel - Microsoft Learn
Workaround. To adjust the height of the row to fit all the text in a cell, follow these steps: Select the row you...
Read more >height - CSS: Cascading Style Sheets - MDN Web Docs
A percentage height on the root element is relative to the initial containing block. Computed value, a percentage or auto or the absolute...
Read more >What's the deal with height: auto? - YouTube
My video on width: auto : https://www.youtube.com/watch?v=-st14lUQD3U&list=PL4-IK0AVhVjP27yZLwW-gkPggRps0CCnP&index=18Write HTML 10x faster ...
Read more >height | CSS-Tricks
The height property does not apply to non-replaced inline elements including table columns and column groups. .wrap { height: auto; /* auto ...
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
Oh! My bad! Thank you
Oh, sorry, I see what you mean. I’ll take a look.