Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug[ios]: open keyboard is not dismissed when card modal is dragged #30019

Open
3 tasks done
hedinasr opened this issue Nov 14, 2024 · 1 comment · May be fixed by #30020
Open
3 tasks done

bug[ios]: open keyboard is not dismissed when card modal is dragged #30019

hedinasr opened this issue Nov 14, 2024 · 1 comment · May be fixed by #30020
Labels

Comments

@hedinasr
Copy link

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

When keyboard is open in a card modal, dragging the modal down does not close the keyboard, causing a weird UI behavior.

ScreenRecording_11-14-2024.13-51-10_1.mov

Expected Behavior

When keyboard is open in a card modal, dragging the modal down should close the keyboard.

Steps to Reproduce

  1. Open this stackblitz https://stackblitz.com/~/github.com/hedinasr/ion-card-modal-keyboard-bug with Safari (iOS)
  2. Open the modal
  3. Focus on the input to open the keyboard
  4. Drag the modal down

Code Reproduction URL

https://github.com/hedinasr/ion-card-modal-keyboard-bug

Ionic Info

Ionic:

Ionic CLI : 7.2.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/react 8.3.1

Capacitor:

Capacitor CLI : 6.1.2
@capacitor/android : 6.1.2
@capacitor/core : 6.1.2
@capacitor/ios : 6.1.2

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v22.9.0 (/usr/local/Cellar/node/22.9.0_1/bin/node)
npm : 10.8.3
OS : macOS Unknown

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Nov 14, 2024
@hedinasr hedinasr changed the title bug: open keyboard is not dismissed when card modal is dragged bug[ios]: open keyboard is not dismissed when card modal is dragged Nov 14, 2024
@hedinasr hedinasr linked a pull request Nov 14, 2024 that will close this issue
2 tasks
@aeharding
Copy link
Contributor

I believe this is a duplicate of #23955 (comment) - an onDragStart event for modal would allow developer to customize the behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants