React组件 组件虚拟容器
这个容器不会被浏览器实际渲染 子元素的间隙可以点击下方内容而非容器
容器会退化为线段 并且在未退化的方向上允许子元素自然展开
但已退化的方向上子元素会尽可能压缩布局
因此,子元素至少应当在另一个方向上阻止压缩(例如,设置距离或者利用white-space:nowrap)
-
Notifications
You must be signed in to change notification settings - Fork 0
React组件。一个容器组件,在组件树和DOM树中作为一系列组件的父元素,但并不实际渲染(子元素的间隙不会渲染容器元素)。
License
FanetheDivine/VirtualContainer
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
React组件。一个容器组件,在组件树和DOM树中作为一系列组件的父元素,但并不实际渲染(子元素的间隙不会渲染容器元素)。
Resources
License
Stars
Watchers
Forks
Releases
No releases published