[Rich text editor] Fix 'text formatting' option only partially visible (#1335)
This commit is contained in:
1
changelog.d/1335.bugfix
Normal file
1
changelog.d/1335.bugfix
Normal file
@@ -0,0 +1 @@
|
||||
[Rich text editor] Fix 'text formatting' option only partially visible
|
||||
@@ -31,6 +31,7 @@ import androidx.compose.material.icons.filled.LocationOn
|
||||
import androidx.compose.material.icons.filled.PhotoCamera
|
||||
import androidx.compose.material.icons.filled.Videocam
|
||||
import androidx.compose.material3.ExperimentalMaterial3Api
|
||||
import androidx.compose.material3.rememberModalBottomSheetState
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.LaunchedEffect
|
||||
import androidx.compose.runtime.getValue
|
||||
@@ -84,6 +85,9 @@ internal fun AttachmentsBottomSheet(
|
||||
if (isVisible) {
|
||||
ModalBottomSheet(
|
||||
modifier = modifier,
|
||||
sheetState = rememberModalBottomSheetState(
|
||||
skipPartiallyExpanded = true
|
||||
),
|
||||
onDismissRequest = { isVisible = false }
|
||||
) {
|
||||
AttachmentSourcePickerMenu(
|
||||
|
||||
Reference in New Issue
Block a user