diff --git a/src/js/dropdown.js b/src/js/dropdown.js index bcc6163..0cf5ee1 100644 --- a/src/js/dropdown.js +++ b/src/js/dropdown.js @@ -46,7 +46,8 @@ var DropDown = (function(DX) { '', '' ].join(''), - hideOnClick: true + hideOnClick: true, + animationStepDelay: 0.03 }; /** @@ -91,6 +92,21 @@ var DropDown = (function(DX) { } } + function reCalculateAnimationDelay(block, config) { + var listChildren = block.querySelectorAll(`.${CN_OPTION}, .${CN_GROUP_TITLE}`); + + for(var i=0; i