Actual Behavior:
What is the issue? *What is the expected behavior?CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:Details: Click on the first datepicker, it's working fine. Scroll down and click on the bottom one, it doesn't open on the right monthAngular Versions: *
Angular Version: 1.5.8Angular Material Version: 1.1.1Additional Information:
Browser Type: * ChromeBrowser Version: * 55OS: * OS X 10.11.6Stack Traces: noneI'm experiencing this same issue.
This same issue was referenced in #10144. @ppham27 submitted a PR to fix it. Using his build in your codepen fixes the issue for me. I'm really hoping it will land in the next release.
Awesome. Thanks, @wolfet !
not working on
angular 1.6.2
angular material 1.1.3
I'm seeing this problem with md-datepicker with or without parent having a scroll.
Angular: 1.6.0.
Angular Material: 1.1.1.
Datepicker.js module:
@alanssoares ... I found out the issue occurred inside the below method of CalendarMonthBodyCtrl.
CalendarMonthBodyCtrl.prototype.generateContent = function() {
..
}
Commenting the below line fixed the issue for me:
//this.focusAfterAppend.focus();
This worked for me too: #9952
Angular: 1.5.5 & 1.6.2
Angular Material: 1.1.3
Duplicate of https://github.com/angular/material/issues/10144. Fixed in 1.1.5. You can also see this working in HEAD based on the provided demo: http://codepen.io/arthur_souviron/pen/vgYVPy
Most helpful comment
This same issue was referenced in #10144. @ppham27 submitted a PR to fix it. Using his build in your codepen fixes the issue for me. I'm really hoping it will land in the next release.
http://codepen.io/twolfe/pen/qRENEd