Skip to content

Commit

Permalink
Fixed dropdown on TV
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed Jun 12, 2024
1 parent f1e291a commit c344789
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package net.mullvad.mullvadvpn.compose.component

import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.ColumnScope
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.DropdownMenuItem
Expand Down Expand Up @@ -36,7 +37,7 @@ fun MullvadExposedDropdownMenuBox(
ExposedDropdownMenuBox(
expanded = expanded,
onExpandedChange = { expanded = it },
modifier = modifier
modifier = modifier.clickable { expanded = !expanded }
) {
TextField(
modifier = Modifier.fillMaxWidth().menuAnchor(),
Expand Down

0 comments on commit c344789

Please sign in to comment.