File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
sheets-core/src/desktopMain/kotlin/com/dokar/sheets Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -93,11 +93,11 @@ android {
9393
9494compose.desktop {
9595 application {
96- mainClass = " com.dokar.sonner .sample.MainKt"
96+ mainClass = " com.dokar.sheets .sample.MainKt"
9797
9898 nativeDistributions {
9999 targetFormats(TargetFormat .Dmg , TargetFormat .Msi , TargetFormat .Deb )
100- packageName = " com.dokar.sonner .sample"
100+ packageName = " com.dokar.sheets .sample"
101101 packageVersion = " 1.0.0"
102102 }
103103 }
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package com.dokar.sheets
22
33import androidx.compose.runtime.Composable
44import androidx.compose.ui.window.Popup
5+ import androidx.compose.ui.window.PopupProperties
56
67actual enum class SecureFlagPolicy {
78 Inherit ,
@@ -21,7 +22,10 @@ internal actual fun SheetHost(
2122 onDismissRequest : () -> Unit ,
2223 content : @Composable () -> Unit ,
2324) {
24- Popup (onDismissRequest = onDismissRequest) {
25+ Popup (
26+ onDismissRequest = onDismissRequest,
27+ properties = PopupProperties (focusable = true ),
28+ ) {
2529 content()
2630 }
2731}
You can’t perform that action at this time.
0 commit comments