You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
The toast messages does not correctly reposition if it was created while the Android keyboard is open and the anchor element was used. See:
I dont own an IOS-device. So I can not test if the issue occurs on IOS.
Expected Behavior
The toast message should reposition correctly relative to its anchor element, even if the screen is resized due to events like the keyboard opening or closing.
Steps to Reproduce
(Reproducible at least in Android)
clone the example repository
npm i
npm run build-android and deploy to your android phone
touch input field (keyboard will open)
touch button: toast is shown and keyboard should close
--> Result: Button is floating at the position above the Keyboard and does not update its position after the keyboard was closed.
Prerequisites
Ionic Framework Version
v8.x
Current Behavior
The toast messages does not correctly reposition if it was created while the Android keyboard is open and the anchor element was used. See:
I dont own an IOS-device. So I can not test if the issue occurs on IOS.
Expected Behavior
The toast message should reposition correctly relative to its anchor element, even if the screen is resized due to events like the keyboard opening or closing.
Steps to Reproduce
(Reproducible at least in Android)
--> Result: Button is floating at the position above the Keyboard and does not update its position after the keyboard was closed.
It will work fine if the anchor is not used!
Code Reproduction URL
https://github.com/tiga05/toastBug
Ionic Info
Ionic:
Ionic CLI : 7.2.0
Ionic Framework : @ionic/angular 8.3.2
@angular-devkit/build-angular : 18.2.8
@angular-devkit/schematics : 18.2.8
@angular/cli : 18.2.8
@ionic/angular-toolkit : 11.0.1
Capacitor:
Capacitor CLI : 6.1.2
@capacitor/android : 6.1.2
@capacitor/core : 6.1.2
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
NodeJS : v20.17.0 (C:\Program Files\nodejs\node.exe)
npm : 10.8.2
OS : Windows 10
Additional Information
Sidenote:
Here is an example which show that it works correctly if it the toast was created first and THEN a keyboard was opened:
The text was updated successfully, but these errors were encountered: