Skip to content

Commit ce3149d

Browse files
committed
fix(datepicker): datepicker-popup nest in dropdown
Extends the fix from commit c5fe8b to the deprecated non uib dropdown-menu. Closes angular-ui#4197
1 parent a6cb8d3 commit ce3149d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dropdown/dropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ angular.module('ui.bootstrap.dropdown')
551551
restrict: 'AC',
552552
require: '?^dropdown',
553553
link: function(scope, element, attrs, dropdownCtrl) {
554-
if (!dropdownCtrl) {
554+
if (!dropdownCtrl || angular.isDefined(attrs.dropdownNested)) {
555555
return;
556556
}
557557

0 commit comments

Comments
 (0)