-
Notifications
You must be signed in to change notification settings - Fork 26
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
Using syntax-highlighter inside a scrollview #11
Comments
To get around this you can pass PreTag={View} as an argument to each Syntaxhighlighter so it respects the outer scrollview let me know if that works for you |
@ahetawal-p can you post the code string (or a piece of it) |
Here is the above code string
|
can reproduce, will try to work on it this weekend |
iam using syntaxhiglighter inside a scrollview just to use the scrollview callback props, But seems like the control is not with parent scrollview at all. The events are not firing at all in the parent scollview. |
hello any updates :/ |
Hello,
I need to render multiple
SyntaxHighlighter
components inside a parent scrollview based on the data I receive.While embedding even a single
SyntaxHighlighter
component in a scrollview, the scrolling seems to be messed up. And I come down to a state where I can only scroll within the highlighter but not on my original scrollview. Once reaching this state, I am not able to move anywhere in the scrollview and get stuck.Any best practices to resolve this, for supporting scrolling views.
Thank you,
The text was updated successfully, but these errors were encountered: