Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable scrolling on mobile even when there are event listeners present. #229

Open
edogbeatz opened this issue Jan 11, 2024 · 4 comments
Open

Comments

@edogbeatz
Copy link

When we have any button or any event scrolling stops working on mobile you can actually check any community file in rive website you cant scroll the rive player when there are buttons.

@temcewen
Copy link

Just ran into this issue... It absolutely breaks the site.

@gauel
Copy link

gauel commented Jun 11, 2024

This is completely insane... This shouldn't be default behaviour. We have interactive rive on our website and you are just stuck there, unless you try to scroll somewhere in the corners

@ChrisNSki
Copy link

Just ran into this, you can see it on Dumbify.com, when you try to scroll on mobile by dragging in the "Say Hello to Dumbi" section, you are unable to.

@ChrisNSki
Copy link

I was able to get past this by enabling "isTouchScrollEnabled"

const { RiveComponent } = useRive({
    isTouchScrollEnabled: true,
// Rest of Configuration
  });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants