How to expand an element on click to fit nearly the whole viewport width and height dynamically?

前端 未结 0 764
Happy的楠姐
Happy的楠姐 2020-12-17 00:35

I\'m dynamically rendering a grid with 3 elements per row. I\'m calculating the dimensions of each grid item (which will be the same for all grid items) with a ref callback

相关标签:
回答
  • 消灭零回复
提交回复
热议问题