Skip to main content
heyo
Associate III
December 14, 2023
Question

Turn off drag for scrollable container

  • December 14, 2023
  • 1 reply
  • 944 views

When I using handleDragEvent(const DragEvent& evt) function my application start to lagging. How to do that handleDragEvent function be called only when I touch image and not scrollable container? Draggable is turned off on scrollable container

This topic has been closed for replies.

1 reply

GaetanGodart
ST Employee
December 15, 2023

Hello @heyo ,

I have tried to reproduce the issue.
I created a scrollable container, added something big in it, added an image, made the image draggable.
Wether I drag the image or I navigate within the scrollable container, I do not experience lag.

Can you try to reproduce the issue on a minimal example so that I can see the issue too?

I hope I can help you further! :smiling_face_with_smiling_eyes:

Gaetan GodartSoftware engineer at ST (TouchGFX)