While using the md-datepicker
component in my application, I noticed that it does not display properly on larger browser widths. It only seems to work as expected on small and x-small viewports. Please refer to the attached screenshot for reference.
This issue is present on both Chrome and Safari web browsers.
Here's the HTML code snippet:
<md-datepicker ng-model="data" md-placeholder="mm/dd/yyyy"></md-datepicker>
https://i.sstatic.net/e7awO.png
I have attempted to diagnose the problem by inspecting the element, and it appears that the left
property value within the md-datepicker-calendar-pane
class might be the cause of this issue, but I am uncertain.