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

Scroll not working when iframe is rendered. #299

Closed
sivaperumal644 opened this issue May 22, 2020 · 6 comments · Fixed by #543
Closed

Scroll not working when iframe is rendered. #299

sivaperumal644 opened this issue May 22, 2020 · 6 comments · Fixed by #543

Comments

@sivaperumal644
Copy link

sivaperumal644 commented May 22, 2020

When you have iframe rendered in your screen, you cannot scroll on iframe. I had to scroll from left or right corners of the screen, but cannot scroll by touching the iframe.

@andy1xx8
Copy link
Contributor

andy1xx8 commented Jun 1, 2020

I fixed it my own by removing the built-in gesture.
In the IframeContentElement, changed:
gestureRecognizers: { Factory(() => PlatformViewVerticalGestureRecognizer()) },

To:
gestureRecognizers: { Factory<VerticalDragGestureRecognizer>(() => VerticalDragGestureRecognizer()), },

@ryan-berger
Copy link
Collaborator

@sivaperumal644, @tauitdnmd Is correct. Flutter needs you to better define how it should recognize scrolling when you have nested views. If you find problems with this approach, that are specific to this library, please provide a code example and I will attempt to reproduce the problem and fix it.

If I don't receive a reply in about a week, I'll close the issue and assume the problem has been solved

@sivaperumal644
Copy link
Author

@tauitdnmd, @ryan-berger above fix what @tauitdnmd told worked for me. Thanks for the help.

@ryan-berger
Copy link
Collaborator

@sivaperumal644 We'll leave this issue open until the pull request is merged

This was referenced Feb 13, 2021
@mdalihusain
Copy link

This is issue is still there

@erickok
Copy link
Collaborator

erickok commented Oct 4, 2021

@mdalihusain could you open a new ticket, and include example code and which platform you're testing on.

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

Successfully merging a pull request may close this issue.

5 participants