Friday, April 19, 2024
HomeGame DevelopmentScroll Father or mother ScrollView when contact transfer up or down within...

Scroll Father or mother ScrollView when contact transfer up or down within the nest baby ScrollView’s space? – Cocos Creator


Hiya,

I’ve nested scrollviews with:

  1. A Blue Vertical ScrollView
  2. And a Little one yellow Horizontal ScrollView
    My query is:
  • disable scroll occasion within the baby when person strikes up or down within the yellow space ? ( in that case solely blue scrollView occasion is working )

Please assist me!

Thanks!




1 Like

I’m utilizing cocos creator newest model 3.6.2

NewProject_10.zip (10.2 KB)
Like this?

I’ve the identical drawback with @thobn24h, so the issue is when I’ve a “MainScrollView” which is vertically scroll and “ChildScrollView” which is horizontally scroll, “ChildScrollView” is a toddler of “MainScrollView” content material.

However, when contact location is touching “ChildScrollView”, I can’t scroll the “MainScrollView”

@Koei, my drawback is Yellow scroll view is a toddler node of inexperienced scroll view, two scroll views are usually not sibling.

You may change the node tree construction your self, is that not what you need both?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments