Baseflow / XF-Material-Library

A Xamarin Forms library for implementing Material Design
https://baseflow.com
MIT License
647 stars 162 forks source link

App Crash when double tap on MaterialMenuButton #439

Closed BlackZero1122 closed 2 years ago

BlackZero1122 commented 2 years ago

🐛 Bug Report

App Crash when double tap on MaterialMenuButton

Expected behavior

app should not crashed

Reproduction steps

Configuration

Version: 1.x 1.4.6

Platform: iPad: iOS

BlackZero1122 commented 2 years ago

Please, I need a fix for that, you guys have any idea why it's happening!!!

BlackZero1122 commented 2 years ago

hello! is anyone have any solution for that... :'(

BlackZero1122 commented 2 years ago

@martijn00 @aritchie need help here...

aritchie commented 2 years ago

@BlackZero1122 I'm not sure why you've tagged me on this, but if you need a fix so bad, fork the project and debug the samples. OSS maintainers are not support agents. If you have a crash in the future, you'll also want to include the stack trace if you want any hope of getting a response.

BlackZero1122 commented 2 years ago

I'm new to this github thing... Thanx for pointing me in the right direction...

BlackZero1122 commented 2 years ago

Here is the complete stacktrace... System.InvalidOperationException at System.Threading.Tasks.TaskCompletionSource`1[TResult].SetResult (TResult result) [0x00009] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/external/corefx/src/Common/src/CoreLib/System/Threading/Tasks/TaskCompletionSource.cs:298 at XF.Material.Forms.UI.Dialogs.MaterialMenuDialog+<>c__DisplayClass21_1.b1 (System.Int32 position) [0x000ad] in C:\Users\mhvdi\Documents\OpenSource\XF-Material-Library\XF.Material\UI\Dialogs\MaterialMenuDialog.xaml.cs:163 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b7_0 (System.Object state) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1021 at Foundation.NSAsyncSynchronizationContextDispatcher.Apply () [0x00000] in /Users/builder/azdo/_work/1/s/xamarin-macios/src/Foundation/NSAction.cs:178 --- End of stack trace from previous location where exception was thrown ---

at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr) at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/azdo/_work/1/s/xamarin-macios/src/UIKit/UIApplication.cs:86 at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Users/builder/azdo/_work/1/s/xamarin-macios/src/UIKit/UIApplication.cs:65 at POSCrossApp.iOS.Application.Main (System.String[] args) [0x00002] in /Users/user/Desktop/POSCrossApp/POSCrossApp/POSCrossApp/POSCrossApp.iOS/Main.cs:23