https://bugs.kde.org/show_bug.cgi?id=417953

--- Comment #2 from luca <luca.pedrie...@gmail.com> ---

I'm absolutely not an expert in qml, but in this (perfectible) way it seems to
work:

------------------------------------------------------------------------------

*** main.qml            2020-02-21 10:17:26.376005566 +0100
--- main.qml.modified   2020-02-21 19:07:32.898012627 +0100
***************
*** 146,151 ****
--- 146,152 ----
          }

          QQC2.ScrollView {
+             id: scrollview
              anchors {
                  top: parent.top
                  left: parent.left
***************
*** 308,317 ****

          DragDrop.DropArea {
              id: dropArea
!             anchors.fill: mainTextArea

              function positionOfDrop(event) {
!                 return mainTextArea.positionAt(event.x, event.y +
mainTextArea.flickableItem.contentY)
              }

              onDrop: {
--- 309,318 ----

          DragDrop.DropArea {
              id: dropArea
!             anchors.fill: scrollview

              function positionOfDrop(event) {
!                 return mainTextArea.positionAt(event.x, event.y)
              }

              onDrop: {
------------------------------------------------------------------------------

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to