question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't start with height different than `auto`

See original GitHub issue

https://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:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
FezVrastacommented, Nov 3, 2017

Oh! My bad! Thank you

1reaction
Stankocommented, Nov 3, 2017

Oh, sorry, I see what you mean. I’ll take a look.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found