rc-picker
Advanced tools
Comparing version 0.0.1-alpha.52 to 0.0.1-alpha.53
@@ -381,3 +381,7 @@ "use strict"; | ||
setActivePickerIndex(index); | ||
triggerInnerOpen(newOpen); | ||
triggerInnerOpen(newOpen); // Open to reset view date | ||
if (!mergedOpen) { | ||
setViewDate(null, index); | ||
} | ||
} else if (activePickerIndex === index) { | ||
@@ -391,4 +395,2 @@ triggerInnerOpen(newOpen); | ||
} | ||
setViewDate(null, index); | ||
} | ||
@@ -395,0 +397,0 @@ }; |
@@ -381,3 +381,7 @@ "use strict"; | ||
setActivePickerIndex(index); | ||
triggerInnerOpen(newOpen); | ||
triggerInnerOpen(newOpen); // Open to reset view date | ||
if (!mergedOpen) { | ||
setViewDate(null, index); | ||
} | ||
} else if (activePickerIndex === index) { | ||
@@ -391,4 +395,2 @@ triggerInnerOpen(newOpen); | ||
} | ||
setViewDate(null, index); | ||
} | ||
@@ -395,0 +397,0 @@ }; |
{ | ||
"name": "rc-picker", | ||
"version": "0.0.1-alpha.52", | ||
"version": "0.0.1-alpha.53", | ||
"description": "React date & time picker", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
577211
13744