Open kinoli opened 7 years ago
Perhaps there's a way to just close the datepicker if the person scrolls. Any way to do that?
i have the same problem using angular js uibmodel.
Is there any update on this ?
I am having the same issue. using v0.10.2.
Found a workaround here.
$('.modal').on('scroll', function () { if ($('.moment-picker')[0]) { angular.element('.header-view').scope().$parent.view.position(); } });
I have the picker show up under an input field inside a modal that scrolls. Since it is attached to the body and not the modal, when you scroll, the picker remains fixed and becomes disconnected to the input field it came from. Is there any way to attach the picker to the dom object that created it?