Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.0, 6.0
Description
Reproducible example here:
A workaround is to set clip: true on the Flickable.
Works with ScrollView:
import QtQuick import QtQuick.Controls.Material ApplicationWindow { width: 400 height: 400 visible: true title: scrollView.contentItem.contentY ScrollView { id: scrollView width: 200 height: 200 TextArea { placeholderText: "Type something..." text: "a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn" Component.onCompleted: { forceActiveFocus() cursorPosition = length - 1 scrollView.contentItem.contentY = 0 } } } }
Attachments
Issue Links
- is duplicated by
-
QTBUG-113320 Material TextArea delegate cursor not clipped when in Flickable
- Closed
- resulted from
-
QTBUG-112650 TextArea decorator not working as intended
- Closed