Skip to content

Commit

Permalink
Introduce Scroll Area component
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstyl committed Sep 29, 2024
1 parent de634bc commit 3f19554
Show file tree
Hide file tree
Showing 65 changed files with 2,925 additions and 105 deletions.
24 changes: 24 additions & 0 deletions .idea/runConfigurations/demo_scrollarea.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions core/src/androidMain/kotlin/ScrollArea.android.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.composables.core

import androidx.compose.foundation.LocalOverscrollConfiguration
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider

@Composable
internal actual fun NoOverscroll(content: @Composable () -> Unit) {
CompositionLocalProvider(
value = LocalOverscrollConfiguration provides null,
content = content
)
}
Loading

0 comments on commit 3f19554

Please sign in to comment.