I want to stop touch / swipe scroll feature in page view but unable to achieve can any one help me to do?
@slackmoehrle @RAAng @huynhthuan
You can use the BlockInput component by adding it to the parent node of the node that needs to block the input.
https://docs.cocos.com/creator/2.4/manual/zh/components/block-input-events.html?h=event
Hey! i found another graceful way of manging it without having to create inputBlockers most of the time. It should be used inconjuction with input blockers
– my spce for what i wanted
→ the contents to still be interactable .
→ i can sitll use scroll to
→ preventing users to scroll at all on their own and having it so that they can only view 1 page at a time and i can destroy the previos page after turning to that page.
→ I dynamically add content into a new page using a prefab template.
the best i found was on my PageView Controler i basically do
this.pageView.node.pauseSystemEvents(true);
this stops all input events that pageView has to stop propagating and bubbling so that the pageview is no longer there i am om 3.8 so do with this information what might be needed
