components icon indicating copy to clipboard operation
components copied to clipboard

MatSelect options hidden at bottom of page on iOS Safari

Open sgariepy opened this issue 8 years ago • 6 comments

Bug, feature request, or proposal:

Bug using iOS/Safari.

What is the expected behavior?

Soft keyboard is hiding, page does not move, and we have full on-screen visibility of the dropdown.

What is the current behavior?

Using Safari (iOS 11.4) on phone devices, when a focus is made into an input, the keyboard opens. The next form field, a mat-select with many options, got focus and while the keyboard disappears, and the page goes down, the dropdown options are hidden at bottom. This may be a iOS or Safari issue as the problem does not reproduce on Android/Chrome.

What are the steps to reproduce?

See this stackblitz.io code on a device (or iOS simulator).

  1. Open the live page on a iOS Phone with Safari.
  2. Focus on first input (Leave a comment) (soft keyboard opens).
  3. Touch Favorite food dropdown.

End result:

ng-mat-select-ios

What is the use-case or motivation for changing an existing behavior?

See available options at once and use dropdown with a good user experience.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

  • Angular 6.1.0
  • Angular Material 6.4.2
  • OS: iOS 11.4
  • TypeScript: 2.9

Is there anything else we should know?

Maybe it's not related to Angular Material, but it's an issue with Safari.

sgariepy avatar Aug 02 '18 20:08 sgariepy

same here!

fdonzello avatar Aug 18 '18 10:08 fdonzello

same issue in Safari !!

jadavpalak avatar May 20 '20 08:05 jadavpalak

+1

sundhar010 avatar Sep 16 '20 13:09 sundhar010

Hello @sgariepy ,

Thank you for reporting. I believe we may have fixed this issue in v15. I was wondering if we could check with you if this issue requires further action. Does upgrading to v15 resolve the issue for you?

Best regards,

Zach

zarend avatar Sep 18 '23 21:09 zarend

Closing due to inactivity. If you are still able to reproduce please feel free to file a new issue

mmalerba avatar Nov 01 '23 17:11 mmalerba

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.