This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(datepicker): Icon jumping upon open/close.
When the user opened/closed the datepicker in the inputs demo, the icon would jump to the left. This was caused by two separate issues: 1. The demo CSS overrode only the closed styles. 2. The browser would scroll the parent datepicker to the left upon focusing the down-triangle button so that it could be visible. You can easily reproduce this by tabbing to the down-triangle then checking the `<md-datepicker>`s `scrollLeft` style. Fix by removing unnecessary demo CSS and adding proper padding/margin to the datepicker so that the down-triangle has room to appear. Fixes #4570. Closes #5703.
- Loading branch information