ModusCreateOrg / ionic-vue

Vuejs integration for Ionic versions 4 and 5
MIT License
271 stars 26 forks source link

Inputs don't blur when making swipe gesture #127

Closed majormarquis closed 4 years ago

majormarquis commented 4 years ago

Hello, I noticed that input fields are still in focus when making gestures such as open/close menu swipe gesture, swipe-to-close modal gesture. The keyboard is still taking close to half of the screen which seems a bit bad for UX.

Example video: In this case I try to close a modal using the swipe-to-close gesture. As soon as I start the gesture I'd expect that the input field blurs, but it doesn't meaning the keyboard's still active.

Expectation: The input field should blur as soon as I start making the gesture (hence hiding the keyboard).

ezgif-5-f7689549f774

A feedback would be much appreciated! Thanks :)

michaeltintiuc commented 4 years ago

Thanks for the issue, have you tested this behavior with Angular or React versions of Ionic. ionic-vue is does not handle any such things and it seems to me like it could be an issue on ionic's side. You should however be able to hook into the modal's dismiss event to blur the input

michaeltintiuc commented 4 years ago

Please reopen if/when you'll have more information to work with