mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 06:19:22 -05:00
fix: clicking the ExpandIcon of the Combobox does not close the popup window (#247)
This commit is contained in:
parent
ec056a6dec
commit
b52f09baa9
1 changed files with 1 additions and 0 deletions
|
@ -234,6 +234,7 @@ pub fn Combobox(
|
||||||
style=move || {
|
style=move || {
|
||||||
is_show_clear_icon.get().then(|| "display: none").unwrap_or_default()
|
is_show_clear_icon.get().then(|| "display: none").unwrap_or_default()
|
||||||
}
|
}
|
||||||
|
on:mousedown=|e| e.prevent_default()
|
||||||
on:click=move |_| {
|
on:click=move |_| {
|
||||||
if disabled.get_untracked() {
|
if disabled.get_untracked() {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue