-
-
Notifications
You must be signed in to change notification settings - Fork 130
MFXComboBox popup has height of 2.0 #370
Copy link
Copy link
Open
Labels
to-evaluateTo understand if it's worth it, or More info needed, or More investigation neededTo understand if it's worth it, or More info needed, or More investigation needed
Description
Metadata
Metadata
Assignees
Labels
to-evaluateTo understand if it's worth it, or More info needed, or More investigation neededTo understand if it's worth it, or More info needed, or More investigation needed
Describe the bug
I'm using simple MFXComboBox. Nothing fancy. Basic usage. Sometimes the first render of openeded popup has wrong size. Have anyone had similar situation?
Here I attach image from debugger. As you can see container in MFXPopupSkin has height of 2.

(that's the MFXPopupSkin method)
What I do is I have MFXStageDialog where I have MFXComboBox. Then sometimes on first opening(sometimes later) height is 2.0.
When I set autohide to false and change system focus to another application popup height is recalculated to expected target height.
What I noticed is that prefHeight of SimpleVirtualFlow is changing. I'm trying to debug the code. If I find any bug I will report it, for now just asking for any similar observations on your side.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Height is always the same?
Screenshots
Here I attach what I see when the popup is renedered with bad height:
