rsuite 6.1.0 → 6.1.1

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## [6.1.1](https://github.com/rsuite/rsuite/compare/v6.1.0...v6.1.1) (2025-12-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * date range picker not jumping to current day when selecting outside current calendar ([#4465](https://github.com/rsuite/rsuite/issues/4465)) ([eb0823c](https://github.com/rsuite/rsuite/commit/eb0823cb0d26a5e0894de9a9c914a7974a9024c7))
7
+ * docs/package.json & docs/package-lock.json to reduce vulnerabilities ([#4481](https://github.com/rsuite/rsuite/issues/4481)) ([843f1e9](https://github.com/rsuite/rsuite/commit/843f1e9797c82fe2a8b71f6ca336c51bb1e6408d))
8
+ * **webpack:** add react-dom/client external for UMD builds ([#4467](https://github.com/rsuite/rsuite/issues/4467)) ([30504c3](https://github.com/rsuite/rsuite/commit/30504c368c4b80af50e274267e1d661c56969b79))
9
+
10
+
11
+
1
12
  # [6.1.0](https://github.com/rsuite/rsuite/compare/v6.0.1...v6.1.0) (2025-12-11)
2
13
 
3
14
 
@@ -387,6 +387,12 @@ const DateRangePicker = (0, _utils3.forwardRef)((props, ref) => {
387
387
  const calendarKey = index === 0 ? 'start' : 'end';
388
388
  const nextCalendarDate = Array.from(calendarDateRange);
389
389
  nextCalendarDate[index] = date;
390
+
391
+ // If allowSameMonth is true, the start and end dates should be the same
392
+ if (allowSameMonth) {
393
+ nextCalendarDate[0] = date;
394
+ nextCalendarDate[1] = date;
395
+ }
390
396
  setCalendarDateRange({
391
397
  dateRange: nextCalendarDate,
392
398
  calendarKey,