xudafeng / autoresponsive-react

⚛️ Auto Responsive Layout Library For React

Home Page:https://xudafeng.github.io/autoresponsive-react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to make height fit the content?

mixdesign opened this issue · comments

I want fixed width, but dynamic height which should resize depending on html content. Is it possible? Thatnk you!

@mixdesign It could not support dynamic height adaptation in real-time rendering, but offline rendering can be used to get the height at the time when you want.

What you mean saying offline? I call an API, get the data of array, create each card with different height content. That's all.

Do pre rendering with data in an other container before append it.