Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

Ionic Version 6 (Angular) Toast now holds focus preventing inputs from being used

$
0
0

After upgrading to @Ionic/angular@6 when a toast is displayed it prevents focus on input elements, therefore blocking users from fully interacting with the app until the toast is dismissed. I am hoping this behavior isn’t intended as there is no mention of the change on the merge documentation.

I have tested this behavior on three projects using Ionic 6 and I have experienced the same results throughout.

The last project was the angular base ionic project that was upgraded to version 6 by the Ionic Team.

I implemented a basic toast using the code from the ionic documentation and added an ion-input tag to the app component, when the toast is presented using the OnInit function, the input can not be used until the toast is dismissed.

Downgrading the ionic base project to its previous version of Ionic (5.5.2) makes it so the input is useable when the toast is present. I also found this to be true when switching my own project back to 5.8 from 6.0.0.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>