FlutterToast icon indicating copy to clipboard operation
FlutterToast copied to clipboard

on iOS 16.1.1 when keyboard is show ,can`t display toast.

Open ZhengChunLin opened this issue 2 years ago • 9 comments

on iOS 16.1.1 when keyboard is show ,can`t display toast. when close keyboard,toast is showed.

fluttertoast: ^8.1.1 model: iPhone 13 Pro Max

ZhengChunLin avatar Nov 11 '22 06:11 ZhengChunLin

I have same question

cbl16888 avatar Jan 04 '23 00:01 cbl16888

when will this be fixed?

swarajsinghdev avatar Jan 23 '23 08:01 swarajsinghdev

Same issue

DzonaTheSymbol avatar Mar 03 '23 10:03 DzonaTheSymbol

Android has the same problem

jupeng123 avatar Mar 29 '23 03:03 jupeng123

  • (UIWindow *)_readKeyWindow { NSArray *windows = UIApplication.sharedApplication.windows; if (self.isKeyboardVisible) { return windows.firstObject; } for (UIWindow *window in windows) { if (window.isKeyWindow) { return window; } } return nil; }

AllenNow avatar May 06 '23 10:05 AllenNow

in iOS 16+ NSArray *windows = UIApplication.sharedApplication.windows; windows result content, so windows.last would be UITextEffectsWindow. <__NSArrayM 0x28318f2a0>( <UIWindow: 0x109a116a0; frame = (0 0; 428 926); gestureRecognizers = <NSArray: 0x283098330>; backgroundColor = <UIDynamicSystemColor: 0x282b20440; name = _windowBackgroundColor>; layer = <UIWindowLayer: 0x2830986c0>>, <UITextEffectsWindow: 0x10aa80a00; frame = (0 0; 428 926); opaque = NO; autoresize = W+H; layer = <UIWindowLayer: 0x2831dc030>> )

AllenNow avatar May 06 '23 10:05 AllenNow

+1 , I have same the problem

azhon avatar Mar 07 '24 03:03 azhon

image

LeoAiolia avatar Jun 14 '24 09:06 LeoAiolia

my phone is ios 17.5.1

LeoAiolia avatar Jun 14 '24 09:06 LeoAiolia