cancel
Showing results for 
Search instead for 
Did you mean: 

Turn off drag for scrollable container

heyo
Senior

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

1 REPLY 1
GaetanGodart
ST Employee

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! 😊

Gaetan Godart
Software engineer at ST (TouchGFX)