Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Aug 1, 2016

  • Fixes the calendar being closed immediately on mobile, if md-open-on-focus is set. This was due to the fact that mobile browsers zoom in on the input and dispatch a resize event. This change switches to the more appropriate orientationchange event.
  • Exposes the isIos and isAndroid variables in the gesture service.

Fixes #9170.

…with md-open-on-focus

* Fixes the calendar being closed immediately on mobile, if md-open-on-focus is set. This was due to the fact that mobile browsers zoom in on the input and dispatch a `resize` event. This change switches to the more appropriate `orientationchange` event.
* Exposes the `isIos` and `isAndroid` variables in the gesture service.

Fixes angular#9170.
@crisbeto crisbeto added the needs: review This PR is waiting on review from the team label Aug 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: review This PR is waiting on review from the team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

md-datepicker with "md-open-on-focus" sometimes closes immediately on smartphones
2 participants