Skip to content

Commit

Permalink
remove click on disabled state
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth Agarwal committed Oct 16, 2023
1 parent e6d3dab commit 2e927ec
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,13 @@ fun InputDropDown(
modifier = Modifier
.matchParentSize()
.alpha(0f)
.clickable(onClick = {
focusRequester.requestFocus()
onArrowDropDownButtonClicked.invoke()
}),
.clickable(
enabled = state != InputShellState.DISABLED,
onClick = {
focusRequester.requestFocus()
onArrowDropDownButtonClicked.invoke()
},
),
)
}
},
Expand Down

0 comments on commit 2e927ec

Please sign in to comment.