Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.15.0
-
None
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