Hello, is there a way to have scrollable content t...
# compose-desktop
f
Hello, is there a way to have scrollable content that is not clipped to the bounds of scrollable area?
My use case is that I have main view and side bar. The sidebar is list (column) of widgets that I want to be able to drag onto the main view.
I know the possible solution is to draw the element in different scope when dragged but that introduces a whole lot of other problems when trying to animate the element for example
j
cc @matvei
m
Only top-level scroll modifiers/components clip by default (
LazyColumn, Modifier.verticalScroll, Modifier.horizontalScorll
). You can drop down one level and use
Modifier.draggable
or
Modifier.scrollable
or even
Modifier.swipeable
, those doesn't clip by default