Hacker News new | ask | show | jobs
by joshspankit 897 days ago
That causes CLS which is also an issue
1 comments

My apologies. By 'hide', I meant hide visually (through `opacity: 0`) that keeps the space reserved to avoid CLS.
Do I understand correctly, this only works when the size of the component is determined from "above" in the layout tree? That sounds not generally useful...