fix drop down selection input override

This commit is contained in:
Adam D. Ruppe 2021-08-04 16:01:13 -04:00
parent d41995d042
commit 01e8b3a355
1 changed files with 9 additions and 1 deletions

View File

@ -1750,8 +1750,16 @@ abstract class ComboboxBase : Widget {
}
);
dropDown.visibilityChanged = (bool visible) {
if(visible) {
this.redraw();
dropDown.grabInput();
} else {
dropDown.releaseInputGrab();
}
};
dropDown.show();
dropDown.grabInput();
}
}