Skip to content

Commit fb8772a

Browse files
authored
Merge pull request #22 from workspace/fix-issue-17
Fix keyboard is not showing when textfield is focused
2 parents 22061e1 + bf6027a commit fb8772a

File tree

1 file changed

+1
-9
lines changed
  • bottomsheetdialog-compose/src/main/kotlin/com/holix/android/bottomsheetdialog/compose

1 file changed

+1
-9
lines changed

bottomsheetdialog-compose/src/main/kotlin/com/holix/android/bottomsheetdialog/compose/BottomSheetDialog.kt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import androidx.compose.ui.semantics.semantics
2323
import androidx.compose.ui.unit.Density
2424
import androidx.compose.ui.unit.LayoutDirection
2525
import androidx.compose.ui.unit.dp
26+
import androidx.compose.ui.window.DialogWindowProvider
2627
import androidx.compose.ui.window.SecureFlagPolicy
2728
import androidx.core.view.WindowCompat
2829
import androidx.lifecycle.findViewTreeLifecycleOwner
@@ -303,15 +304,6 @@ fun BottomSheetDialog(
303304
}
304305
}
305306

306-
/**
307-
* Provides the underlying window of a bottomsheet dialog.
308-
*
309-
* Implemented by dialog's root layout.
310-
*/
311-
interface DialogWindowProvider {
312-
val window: Window
313-
}
314-
315307
@Suppress("ViewConstructor")
316308
private class BottomSheetDialogLayout(
317309
context: Context,

0 commit comments

Comments
 (0)