verticalScroll

Deprecated

The scroll modifier does not produce completely consistent visual results on both platforms, and has a bug that it squeezes its content (direct children) to size zero on JS DOM because of `maxWidth/Height(cssWidthStretchValueBrowserDependent)` used with `overflowY/X(Overflow.Auto)`, which is then used by the layout components `Box`, `Column`, and `Row`. Use `VerticalScrollContainer`, `VerticalScrollBox`, `VerticalScrollColumn` for vertical Scroll instead, or `HorizontalScrollContainer`, `HorizontalScrollBox`, `HorizontalScrollRow` for horizontal Scroll instead, to wrap the component instead.

Note that if the component is a layout, for example a Material card, it applies to the target as a whole on Compose UI targets, but applies to its content on JS DOM. For consistency on different platforms, components such as VerticalScrollContainer, VerticalScrollBox, VerticalScrollColumn are recommended over this modifier.