Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Duplicate
-
Affects Version/s: 5.15.0
-
Fix Version/s: None
-
Component/s: Quick: Controls 2
-
Labels:None
-
Platform/s:
Description
When scrolling ComboBox with large number of elements I see this warning in console.
file:///C:/Qt/5.15.0/msvc2019_64/qml/QtQuick/Controls.2/ComboBox.qml:56: TypeError: Cannot read property 'width' of null
I was able to "fix" it by changing line 56 from
width: parent.width
to
width: parent ? parent.width : 100
Minimal reproducible example is attached. It is just ComboBox with big model.
P.S. probably QTBUG-81976 is related
Attachments
Issue Links
- duplicates
-
QTBUG-81976 ListView delegates produces "TypeError: Cannot read property 'width' of null" when removing item from QAbstractItemModel
-
- Closed
-