Associate II
October 2, 2020
Solved
How to be able to drag a scrollList, when reimplementing the handleClickEvent of the item custom container?
- October 2, 2020
- 3 replies
- 1214 views
Hello,
I have built a scroll list, where each item is a custom container that has an image and a textArea. I want to be able to call a callback from the item when the respective item is clicked. For example, I want to change the color of the custom container background when the item is clicked, as shown in the attached picture. I am able to do that by implementing the handleClickEvent function inside the custom container. However, once I do that, I can not drag the list.
Can you please help me on how to be able to still drag the scrollList when I overwrite the handleClickEvent on the custom container?
Thanks a lot.
Bests,
Gazi
