@progressio_resources/gravity-design-system 4.1.1 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6889,7 +6889,15 @@ function onSelectDaysRange(component, day) {
6889
6889
  return;
6890
6890
  }
6891
6891
  if (hasStart && hasEnd) {
6892
- selected < startDate ? updateField('start') : updateField('end');
6892
+ if (selected < startDate) {
6893
+ updateField('start');
6894
+ }
6895
+ else if (selected > endDate) {
6896
+ updateField('end');
6897
+ }
6898
+ else {
6899
+ updateField(component.focused);
6900
+ }
6893
6901
  return;
6894
6902
  }
6895
6903
  }