-
Notifications
You must be signed in to change notification settings - Fork 7
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
Multiple TouchEffects cause crash on iOS #9
Comments
My current solution was to carefully set the InputTransparency property on the graphs to true if they are not visible, but as you can imagine that is a bit of a pain to manage. This was the original reason for my earlier commit. |
Is it possible to reproduce this problem with the sample app? Could you please provide the full error message / exception ? |
I'm working on generating a sample project. I believe I have triggered the issue by having two graphs and starting a drag on one graph and sliding my finger over to the other graph. |
Here is my minimal example project. If you try dragging the circle on iOS it will crash. https://github.com/Hackmodford/oxyplot-maui-crash1 The key seems to be with settings the opacity of the plot. In any case the example in the project is what is causing me headaches in my current app. |
@Hackmodford, Can I know if pinch to zoom is working for you in iOS? |
@Hackmodford could you please test the latest version 1.0.1 that includes the fix from #10 |
I've noticed a crash in my app if there are multiple graphs.
For example I have two pages with graphs.
If I navigate
A -> B -> A
then try to touch Graph A, the app crashes in thePlotViewBase.Events.cs
file.This is do to
previousTouchPoints
being nil. It seems that the TouchEffect is associated with the wrong view? Not sure. Or they're all sending reports to each other.The text was updated successfully, but these errors were encountered: