ComboBox is hiding elements below from being clicked/focused
See original GitHub issueComboBox is hiding elements below from being clicked/focused after it shows a list of items once.
In the example below after opening a ComboBox list it will be impossible to focus to the TextField by mouse. Only using a keyboard. Example:
var lbComboBox = new Label ("ComboBox") {
ColorScheme = Colors.TopLevel,
X = Pos.Right (lbListView) + 1,
Width = Dim.Percent(40)
};
var comboBox = new ComboBox () {
X = Pos.Right (listview) + 1,
Y = Pos.Bottom (lbListView) + 1,
Height = Dim.Fill (2),
Width = Dim.Percent(40)
};
comboBox.SetSource (items);
comboBox.SelectedItemChanged += (ListViewItemEventArgs text) => lbComboBox.Text = items[comboBox.SelectedItem];
Win.Add (lbComboBox, comboBox);
Win.Add (new TextField { X = Pos.Right (listview) + 1, Y = Pos.Top (comboBox) + 3, Height = 1, Width = 20});
Issue Analytics
- State:
- Created 2 years ago
- Comments:17
Top Results From Across the Web
ComboBox is hiding elements below from being clicked/ ...
The above fix only works when collapsing the ComboBox with the mouse (on the down dropdown). Selecting from the dropdown with Enter does...
Read more >Combo box items are hidden behind other controls.
Try using: comboBox. setLightWeightPopupEnabled(false); See Mixing Lightweight and Heavyweight Components for why this should work.
Read more >modal content not able scroll when overflow =initial/visible ...
I have a modal with a fixed height, so if the number of fields increase in the modal, scrollbar appears as expected.
Read more >Hide empty ComboBox - Power Platform Community - Microsoft
I am trying to hide a data card based on if a ComboBox is empty. I'd like to do something like the following...
Read more >Combobox Pattern | APG | WAI
About This Pattern. A combobox is an input widget that has an associated popup. The popup enables users to choose a value for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe it could be a good idea to dynamically change height of the ComboBox when it opens/closes. Then it won’t overlap anything.
Thanks, I have added it to the PR