Ask DN: Do you use the Flexbox property?

over 9 years ago from Drew Koch, Product Designer / Prototyper @ Udemy | drewkoch.com

  • Stelian FirezStelian Firez, over 9 years ago

    I used it recently in combination with contenteditable.

    One thing I discovered in Chrome Canary(35.0.1905.0) is that if you have contenteditable set to true on one of the children, the height of that child will not adjust after you remove some of its contents. It will just keep the maximum height reached.

    The fix involves adding "align-items: flex-start;" to the parent(the one that has the flex property).

    0 points