Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added dragging ability from the monthly Popup component #1554

Merged
merged 2 commits into from May 29, 2020

Conversation

christianpatrick
Copy link
Contributor

@christianpatrick christianpatrick commented Dec 18, 2019

I've added in the ability to move events from the Popup in the Month view. Once the event has dropped onto the new day of the month, it will remove itself from the Popup and subsequently close that component.

I also added this into the dnd example to show the functionality.

@christianpatrick christianpatrick changed the title Added dragging ability to the monthly Popup component Added dragging ability from the monthly Popup component Dec 18, 2019
@christianpatrick
Copy link
Contributor Author

@jquense, is this a feature you'd be alright with having? It fixes #1616.

@jquense
Copy link
Owner

jquense commented May 29, 2020

sorry @christianpatrick for not responding :| yes i'd be happy to merge this, can you push again to re-kick off the build?

@christianpatrick
Copy link
Contributor Author

@jquense, thanks for the comment! The build is passing now, feel free to review at your convenience. 😄

@jquense jquense merged commit 12233ef into jquense:master May 29, 2020
@github-actions
Copy link

🎉 This PR is included in version 0.25.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@christianpatrick christianpatrick deleted the feature/dnd-on-monthly-popup branch May 29, 2020 21:30
Teal-labs-developer pushed a commit to Teal-labs-developer/react-big-calendar that referenced this pull request Nov 11, 2020
…into react-big-calendar-v0-28-6

* 'master' of https://github.com/jquense/react-big-calendar: (106 commits)
  fix: revert a bug that the height of the column is broken when displayed in IE11 (jquense#1789)" (jquense#1805)
  fix: bug with resize segments not being removed (jquense#1800)
  fix: preserve time on horizontal resizing (jquense#1795)
  Update README.md (jquense#1799)
  fix: enforce `resizable` prop (jquense#1796)
  fix: a bug that the height of the column is broken when displayed in IE11 (jquense#1789)
  Use main Reactiflux invite (jquense#1780)
  fix: item preview inside cell while dragging from outside not working… (jquense#1770)
  fix onKeyPressEvent should not be required (jquense#1767)
  feat: add onKeyPressEvent (jquense#1754)
  chore(deps): bump handlebars from 4.1.2 to 4.7.6 (jquense#1745)
  feat: add resourceId to handleSelectAllDaySlot fns slotInfo (jquense#1735)
  fix: Fix top part of 24hour event in week/day view (jquense#1732)
  intljusticemission renamed to jquense (jquense#1710)
  docs: little documentation clarification (jquense#1700)
  docs: update README.md (jquense#1690)
  feat: starting to hooks to avoid deprecation warnings (jquense#1687)
  docs: fixed return type for View parameter (jquense#1677)
  feat: add dragging ability from the monthly Popup component (jquense#1554)
  fix: hide indicator when current time is not in the interval (jquense#1639)
  ...

# Conflicts:
#	.size-snapshot.json
#	src/Calendar.js
#	yarn.lock
@cmmash
Copy link

cmmash commented Nov 10, 2021

Does this also allow to drag from one month to next or before?

github-actions bot pushed a commit to additio/react-big-calendar that referenced this pull request Apr 5, 2023
# 1.0.0 (2023-04-05)

### Bug Fixes

*  `dayLayoutAlgorithm` prop with custom function ([jquense#1562](https://github.com/additio/react-big-calendar/issues/1562)) ([3fb3c49](3fb3c49))
* 1px misalignment ([jquense#2367](https://github.com/additio/react-big-calendar/issues/2367)) ([7479b4d](7479b4d))
* a bug that the height of the column is broken when displayed in IE11 ([jquense#1789](https://github.com/additio/react-big-calendar/issues/1789)) ([a0538ee](a0538ee))
* add new method to get correct time indicator top position | fixes [jquense#1396](https://github.com/additio/react-big-calendar/issues/1396) ([jquense#1447](https://github.com/additio/react-big-calendar/issues/1447)) ([1cf0205](1cf0205))
* add runtime to deps ([ade68bb](ade68bb))
* added fallback to getNow ([jquense#1140](https://github.com/additio/react-big-calendar/issues/1140)) ([13459b0](13459b0))
* **addons:** do not cut end while dragging multiday event ([jquense#1342](https://github.com/additio/react-big-calendar/issues/1342)) ([6fab261](6fab261))
* adjust TimeGutter for DST ([jquense#2205](https://github.com/additio/react-big-calendar/issues/2205)) ([4ba1255](4ba1255))
* **Agenda:** consider start & end of day to filter events ([6c9c05b](6c9c05b))
* allow override onShowMore callback ([jquense#1214](https://github.com/additio/react-big-calendar/issues/1214)) ([8fefeee](8fefeee)), closes [/github.com/intljusticemission/react-big-calendar/blob/f9a873368a78f5ced81b799c4dffe1095b3ab712/src/Calendar.jsx#L280](https://github.com//github.com/intljusticemission/react-big-calendar/blob/f9a873368a78f5ced81b799c4dffe1095b3ab712/src/Calendar.jsx/issues/L280) [/github.com/intljusticemission/react-big-calendar/blob/1d62c432eaa183ed6b38f08cfcec5ee7edcbfe41/src/Month.js#L300-L307](https://github.com//github.com/intljusticemission/react-big-calendar/blob/1d62c432eaa183ed6b38f08cfcec5ee7edcbfe41/src/Month.js/issues/L300-L307) [jquense#1147](https://github.com/additio/react-big-calendar/issues/1147)
* Allow resize to last visible slot ([f26c8a7](f26c8a7)), closes [jquense#2147](https://github.com/additio/react-big-calendar/issues/2147)
* auto scroll on event selection ([jquense#2235](https://github.com/additio/react-big-calendar/issues/2235)) ([6d87ebb](6d87ebb)), closes [jquense#2233](https://github.com/additio/react-big-calendar/issues/2233)
* bad propType. ([jquense#1351](https://github.com/additio/react-big-calendar/issues/1351)) ([e704e17](e704e17))
* bug where appointments can appear outside the calendar ([jquense#1204](https://github.com/additio/react-big-calendar/issues/1204)) ([9689b7d](9689b7d))
* bug with dayWrapper not applying ([jquense#1196](https://github.com/additio/react-big-calendar/issues/1196)) ([f3ea6f8](f3ea6f8))
* bug with resize segments not being removed ([jquense#1800](https://github.com/additio/react-big-calendar/issues/1800)) ([34aec3a](34aec3a))
* bump memoize-one and migrate new isEqual API ([jquense#1583](https://github.com/additio/react-big-calendar/issues/1583)) ([4c904c2](4c904c2))
* calculation of slots number for date when DST ends. ([jquense#1046](https://github.com/additio/react-big-calendar/issues/1046)) ([2ca0226](2ca0226))
* calendar auto scroll while dragging event at top/bottom edge ([jquense#2230](https://github.com/additio/react-big-calendar/issues/2230)) ([d1c5085](d1c5085)), closes [jquense#2231](https://github.com/additio/react-big-calendar/issues/2231)
* change toolbar API to match top level onViewChange prop name ([b0a6dd7](b0a6dd7))
* common.nest() discarding custom components ([jquense#1114](https://github.com/additio/react-big-calendar/issues/1114)) ([5a432de](5a432de))
* Correct display of beginning DST ([bd8e0e9](bd8e0e9)), closes [jquense#1617](https://github.com/additio/react-big-calendar/issues/1617)
* Correct DragAndDrop event resizing in 'month' view ([e3d96e5](e3d96e5)), closes [jquense#2012](https://github.com/additio/react-big-calendar/issues/2012)
* Correct duration in DnD ([jquense#2034](https://github.com/additio/react-big-calendar/issues/2034)) ([304f78b](304f78b)), closes [jquense#2033](https://github.com/additio/react-big-calendar/issues/2033)
* Correct issue with semantic-release and yarn-lock ([cc48854](cc48854)), closes [jquense#2096](https://github.com/additio/react-big-calendar/issues/2096)
* Correct listener teardown ([abd4594](abd4594)), closes [jquense#2072](https://github.com/additio/react-big-calendar/issues/2072)
* correct luxon localizer formatting ([jquense#2172](https://github.com/additio/react-big-calendar/issues/2172)) ([b130351](b130351))
* Correct no overlap algorithm stretch behavior ([jquense#2120](https://github.com/additio/react-big-calendar/issues/2120)) ([c3f25eb](c3f25eb))
* correct popupOffset ([jquense#2218](https://github.com/additio/react-big-calendar/issues/2218)) ([6fdec30](6fdec30))
* correct publishing ([jquense#2350](https://github.com/additio/react-big-calendar/issues/2350)) ([ae15118](ae15118))
* Correct resize for multi-day event. ([jquense#2138](https://github.com/additio/react-big-calendar/issues/2138)) ([3632345](3632345))
* Correct resizing event bug in Week & Day ([jquense#2143](https://github.com/additio/react-big-calendar/issues/2143)) ([afa8468](afa8468))
* Correct scrollToTime functionailty ([jquense#2055](https://github.com/additio/react-big-calendar/issues/2055)) ([76e6254](76e6254)), closes [jquense#2028](https://github.com/additio/react-big-calendar/issues/2028) [jquense#1717](https://github.com/additio/react-big-calendar/issues/1717)
* correct storybook deploy ([jquense#2145](https://github.com/additio/react-big-calendar/issues/2145)) ([8c98fb2](8c98fb2))
* Correct the listeners reference ([a202d60](a202d60)), closes [jquense#2072](https://github.com/additio/react-big-calendar/issues/2072)
* correct time-header-gutter ([jquense#2219](https://github.com/additio/react-big-calendar/issues/2219)) ([160e251](160e251))
* correct TimeGutter ref ([jquense#2204](https://github.com/additio/react-big-calendar/issues/2204)) ([055cdd0](055cdd0)), closes [jquense#2201](https://github.com/additio/react-big-calendar/issues/2201)
* correct TimeGutter ref use ([574dbf7](574dbf7)), closes [jquense#2200](https://github.com/additio/react-big-calendar/issues/2200)
* correct treatment of boolean view in 'views' ([jquense#2368](https://github.com/additio/react-big-calendar/issues/2368)) ([0e6b771](0e6b771))
* Correct typo in custom view example ([267629b](267629b))
* Correct variable name that gets passed on to EventWrapper so dragndrop ha… ([jquense#2121](https://github.com/additio/react-big-calendar/issues/2121)) ([19294de](19294de))
* **date-fns localizer:** display dayFormat correctly ([jquense#1633](https://github.com/additio/react-big-calendar/issues/1633)) ([dd1e1a4](dd1e1a4))
* **dayViewLayout:** container event check ([3c4934e](3c4934e))
* different time format for multi day events when using moment ([jquense#919](https://github.com/additio/react-big-calendar/issues/919)) ([630b630](630b630))
* disable `absoluteRuntime` in babel-preset-react-app ([jquense#2155](https://github.com/additio/react-big-calendar/issues/2155)) ([b8fcb93](b8fcb93))
* DnD corner cases in allDay move/resize ([5380fee](5380fee))
* dnd freezes an event intermittently ([jquense#1631](https://github.com/additio/react-big-calendar/issues/1631)) ([e8609af](e8609af))
* **DND:** Corrects issue of losing droppable event when releasing on non-event related containers ([jquense#2199](https://github.com/additio/react-big-calendar/issues/2199)) ([508b668](508b668)), closes [jquense#2198](https://github.com/additio/react-big-calendar/issues/2198) [jquense#1902](https://github.com/additio/react-big-calendar/issues/1902)
* **dnd:** dont use classname ([jquense#2232](https://github.com/additio/react-big-calendar/issues/2232)) ([2332f12](2332f12))
* **Dnd:** Offset is not needed ([jquense#1892](https://github.com/additio/react-big-calendar/issues/1892)) ([caf820b](caf820b))
* **DnD:** selection in WeekView ([2813631](2813631))
* do not autoscroll on event selection ([jquense#2234](https://github.com/additio/react-big-calendar/issues/2234)) ([b85b1ff](b85b1ff)), closes [jquense#2233](https://github.com/additio/react-big-calendar/issues/2233)
* do not handle move event after terminating ([jquense#1104](https://github.com/additio/react-big-calendar/issues/1104)) ([bcc4d93](bcc4d93))
* do not send undefined/null gutterRef to getWidth ([jquense#2300](https://github.com/additio/react-big-calendar/issues/2300)) ([7b5f5b8](7b5f5b8))
* do the math ourselves ([jquense#2220](https://github.com/additio/react-big-calendar/issues/2220)) ([cace54e](cace54e))
* drag cancelation for month view ([jquense#1322](https://github.com/additio/react-big-calendar/issues/1322)) ([9c81e9e](9c81e9e))
* dragging is disabled if resizing is not allowed ([jquense#1072](https://github.com/additio/react-big-calendar/issues/1072)) ([jquense#1073](https://github.com/additio/react-big-calendar/issues/1073)) ([0d5ed30](0d5ed30))
* duplicate events ([jquense#1159](https://github.com/additio/react-big-calendar/issues/1159)) ([b8e26b0](b8e26b0))
* elements position on TimeGrid if max prop is set ([jquense#1057](https://github.com/additio/react-big-calendar/issues/1057)) ([f174a60](f174a60))
* enforce `resizable` prop ([jquense#1796](https://github.com/additio/react-big-calendar/issues/1796)) ([a18acc2](a18acc2))
* firefox event click bug ([jquense#1262](https://github.com/additio/react-big-calendar/issues/1262)) ([b526416](b526416)), closes [jquense#1173](https://github.com/additio/react-big-calendar/issues/1173)
* Fix top part of 24hour event in week/day view ([jquense#1732](https://github.com/additio/react-big-calendar/issues/1732)) ([e1e06b5](e1e06b5))
* Fixed publish script (fix [jquense#2330](https://github.com/additio/react-big-calendar/issues/2330)) ([jquense#2358](https://github.com/additio/react-big-calendar/issues/2358)) ([a4e54be](a4e54be))
* for TimeSlots ([jquense#1462](https://github.com/additio/react-big-calendar/issues/1462)) ([c31639a](c31639a))
* handleNavigate for undefined date ([jquense#889](https://github.com/additio/react-big-calendar/issues/889)) ([cc84f17](cc84f17))
* hide indicator when current time is not in the interval ([jquense#1639](https://github.com/additio/react-big-calendar/issues/1639)) ([92974bf](92974bf))
* ie fix for event bindings on unmounted components ([jquense#1338](https://github.com/additio/react-big-calendar/issues/1338)) ([8ef00d6](8ef00d6))
* incorrect babel imports in CJS/ESM builds ([jquense#2157](https://github.com/additio/react-big-calendar/issues/2157)) ([687b121](687b121))
* invalid prop-types. ([jquense#1435](https://github.com/additio/react-big-calendar/issues/1435)) ([61e1a1e](61e1a1e))
* issue with gutter width initialization ([jquense#1181](https://github.com/additio/react-big-calendar/issues/1181)) ([69b28af](69b28af))
* item preview inside cell while dragging from outside not working… ([jquense#1770](https://github.com/additio/react-big-calendar/issues/1770)) ([8fd6329](8fd6329))
* make scrollToTime=00:00 working ([jquense#1501](https://github.com/additio/react-big-calendar/issues/1501)) ([ee5a558](ee5a558))
* make sure time indicator is updated after navigation ([jquense#1082](https://github.com/additio/react-big-calendar/issues/1082)) ([07b2fa4](07b2fa4))
* Memory leak if Calendar is selectable [jquense#1940](https://github.com/additio/react-big-calendar/issues/1940) ([jquense#1941](https://github.com/additio/react-big-calendar/issues/1941)) ([a26e933](a26e933))
* minimum start difference for same row computation ([jquense#886](https://github.com/additio/react-big-calendar/issues/886)) ([jquense#909](https://github.com/additio/react-big-calendar/issues/909)) ([jquense#910](https://github.com/additio/react-big-calendar/issues/910)) ([a440b82](a440b82))
* misplacement of current time indicator ([jquense#1239](https://github.com/additio/react-big-calendar/issues/1239)) ([2d6e99e](2d6e99e)), closes [jquense#1054](https://github.com/additio/react-big-calendar/issues/1054)
* moment format strings -> date-fns format strings ([jquense#1568](https://github.com/additio/react-big-calendar/issues/1568)) ([1603902](1603902))
* **moment:** wrong time on the day when DST changes ([jquense#2374](https://github.com/additio/react-big-calendar/issues/2374)) ([b82ceb7](b82ceb7)), closes [jquense#2296](https://github.com/additio/react-big-calendar/issues/2296)
* mouse event propagation probs ([759a232](759a232))
* move @babel/cli to devDependencies ([jquense#1062](https://github.com/additio/react-big-calendar/issues/1062)) ([4cfcb1f](4cfcb1f))
* move react, react-dom to devDependencies ([jquense#2160](https://github.com/additio/react-big-calendar/issues/2160)) ([6917c15](6917c15))
* no-overlap layout algorithm ([jquense#2239](https://github.com/additio/react-big-calendar/issues/2239)) ([f7bfd11](f7bfd11)), closes [jquense#2240](https://github.com/additio/react-big-calendar/issues/2240)
* numGroups calculation ([jquense#1963](https://github.com/additio/react-big-calendar/issues/1963)) ([319a81c](319a81c))
* onRangeChange not passing localizer ([jquense#1056](https://github.com/additio/react-big-calendar/issues/1056)) ([80855e8](80855e8))
* pass dates to slotGroupPropGetter ([jquense#2066](https://github.com/additio/react-big-calendar/issues/2066)) ([943ae6e](943ae6e))
* prefix React lifecycle methods with UNSAFE ([jquense#1578](https://github.com/additio/react-big-calendar/issues/1578)) ([7b5a6a7](7b5a6a7))
* preserve time on horizontal resizing ([jquense#1795](https://github.com/additio/react-big-calendar/issues/1795)) ([1b186da](1b186da))
* prevent endless loop when adding event the DST begin day ([jquense#1635](https://github.com/additio/react-big-calendar/issues/1635)) ([b9abf77](b9abf77))
* prevent un/mounting of date components ([jquense#1276](https://github.com/additio/react-big-calendar/issues/1276)) ([3c25009](3c25009)), closes [/github.com/intljusticemission/react-big-calendar/blob/master/src/DateContentRow.js#L121](https://github.com//github.com/intljusticemission/react-big-calendar/blob/master/src/DateContentRow.js/issues/L121)
* proptype warnings ([jquense#1084](https://github.com/additio/react-big-calendar/issues/1084)) ([08c2494](08c2494))
* reference to draggable/resizable Accessor ([jquense#1070](https://github.com/additio/react-big-calendar/issues/1070)) ([1889a51](1889a51))
* remove duplicate getter prop ([jquense#1185](https://github.com/additio/react-big-calendar/issues/1185)) ([6b90182](6b90182))
* remove global window from Map() usage, update eslint rules for new es6 environment ([jquense#1195](https://github.com/additio/react-big-calendar/issues/1195)) ([4768188](4768188))
* Replace deprecated dependency ([a88da3f](a88da3f))
* replace findDOMNode with refs ([a902d20](a902d20)), closes [jquense#2193](https://github.com/additio/react-big-calendar/issues/2193)
* replace findDOMNode with refs (react 17) ([24f92fb](24f92fb))
* resolve resizing events in Month view ([c7b105f](c7b105f)), closes [jquense#2207](https://github.com/additio/react-big-calendar/issues/2207)
* revert ([jquense#2227](https://github.com/additio/react-big-calendar/issues/2227)) ([b81fa14](b81fa14))
* revert a bug that the height of the column is broken when displayed in IE11 ([jquense#1789](https://github.com/additio/react-big-calendar/issues/1789))" ([jquense#1805](https://github.com/additio/react-big-calendar/issues/1805)) ([41104fa](41104fa))
* revert change ([jquense#2223](https://github.com/additio/react-big-calendar/issues/2223)) ([bdb0595](bdb0595))
* rounding behavior in Luxon localizer ([jquense#2362](https://github.com/additio/react-big-calendar/issues/2362)) ([409cff1](409cff1)), closes [jquense#2361](https://github.com/additio/react-big-calendar/issues/2361)
* rtl incorrectly named or not propagated ([jquense#1353](https://github.com/additio/react-big-calendar/issues/1353)) ([caa863f](caa863f))
* rtl prop has to be passed to the DateContentRow ([jquense#915](https://github.com/additio/react-big-calendar/issues/915)) ([e0ae4f1](e0ae4f1))
* **sass:** Reference distributed folder in SASS compile ([jquense#2091](https://github.com/additio/react-big-calendar/issues/2091)) ([20502f3](20502f3)), closes [jquense#2086](https://github.com/additio/react-big-calendar/issues/2086)
* selecting events in chrome ([jquense#884](https://github.com/additio/react-big-calendar/issues/884)) ([558ee2d](558ee2d))
* selecting events in mobile browsers ([jquense#1233](https://github.com/additio/react-big-calendar/issues/1233)) ([2bc9fee](2bc9fee))
* set width ([jquense#2332](https://github.com/additio/react-big-calendar/issues/2332)) ([86b26cd](86b26cd))
* short-circuit handleInteractionEnd when no action is in progress ([jquense#1118](https://github.com/additio/react-big-calendar/issues/1118)) ([7a48b6a](7a48b6a))
* single/Double clicks on an event work again ([jquense#952](https://github.com/additio/react-big-calendar/issues/952)) ([ee8cdbe](ee8cdbe))
* support point-in-time events in the Agenda view ([jquense#1246](https://github.com/additio/react-big-calendar/issues/1246)) ([58c39c3](58c39c3))
* switch DnD to modern context API (was legacy) ([6def209](6def209)), closes [jquense#1795](https://github.com/additio/react-big-calendar/issues/1795) [jquense#1776](https://github.com/additio/react-big-calendar/issues/1776)
* temp fix for DayColumn render ([jquense#2224](https://github.com/additio/react-big-calendar/issues/2224)) ([48b23a2](48b23a2)), closes [jquense#2222](https://github.com/additio/react-big-calendar/issues/2222)
* time indicator placement ([071fa88](071fa88))
* TimeGrid display on DST change days when min is after the transition ([jquense#1303](https://github.com/additio/react-big-calendar/issues/1303)) ([b436017](b436017)), closes [jquense#1098](https://github.com/additio/react-big-calendar/issues/1098) [jquense#1273](https://github.com/additio/react-big-calendar/issues/1273)
* totalMin calculation in TimeSlots. ([jquense#965](https://github.com/additio/react-big-calendar/issues/965)) ([b761e86](b761e86))
* Trade href="#" anchors for stylized buttons ([jquense#2074](https://github.com/additio/react-big-calendar/issues/2074)) ([cd385f5](cd385f5))
* typo for prop titles ([jquense#2298](https://github.com/additio/react-big-calendar/issues/2298)) ([11fd6c8](11fd6c8))
* update react & react-dom peer-dep range to support 17.x ([jquense#1880](https://github.com/additio/react-big-calendar/issues/1880)) ([dbcc578](dbcc578))
* update time indicator position if max prop changes ([jquense#1379](https://github.com/additio/react-big-calendar/issues/1379)) ([ac945b7](ac945b7))
* update time indicator position if min prop changes ([jquense#1311](https://github.com/additio/react-big-calendar/issues/1311)) ([97ea841](97ea841))
* update TimeGrid on resources list change ([jquense#1135](https://github.com/additio/react-big-calendar/issues/1135)) ([91c6ec0](91c6ec0))
* update to current react-overlays ([jquense#2217](https://github.com/additio/react-big-calendar/issues/2217)) ([27ebe46](27ebe46)), closes [jquense#2186](https://github.com/additio/react-big-calendar/issues/2186)
* use accessors when determining dnd height. ([jquense#954](https://github.com/additio/react-big-calendar/issues/954)) ([be81065](be81065))
* use fixed date arithmetic lib and move bt-sass to devdepen… ([jquense#1374](https://github.com/additio/react-big-calendar/issues/1374)) ([b223a61](b223a61))
* use React.createRef instead of string refs ([jquense#1282](https://github.com/additio/react-big-calendar/issues/1282)) ([239f0a3](239f0a3))
* using wrong bounding box for hit testing ([f670719](f670719))
* zero duration no-overlap events ([jquense#2213](https://github.com/additio/react-big-calendar/issues/2213)) ([bbe1109](bbe1109))

### Features

* [jquense#1390](https://github.com/additio/react-big-calendar/issues/1390) use en dashes in ranges ([jquense#1391](https://github.com/additio/react-big-calendar/issues/1391)) ([7619e59](7619e59))
* Add `onSelectEvent` & `onDoubleClickEvent` support to Agenda ([c14f427](c14f427))
* add `showAllEvents` Calendar Prop ([jquense#1808](https://github.com/additio/react-big-calendar/issues/1808)) ([8ffe39d](8ffe39d))
* add ability to set custom resource headers ([jquense#1187](https://github.com/additio/react-big-calendar/issues/1187)) ([6708a45](6708a45)), closes [jquense#1174](https://github.com/additio/react-big-calendar/issues/1174)
* add agenda no events msg ([jquense#923](https://github.com/additio/react-big-calendar/issues/923)) ([51304f5](51304f5))
* add ARIA roles to month view ([jquense#1863](https://github.com/additio/react-big-calendar/issues/1863)) ([02bbeb1](02bbeb1))
* add background events feature ([jquense#1851](https://github.com/additio/react-big-calendar/issues/1851)) ([e797ab3](e797ab3)), closes [jquense#1727](https://github.com/additio/react-big-calendar/issues/1727)
* add commitlint ([b35e156](b35e156))
* add custom timeSlotWrapper support ([jquense#930](https://github.com/additio/react-big-calendar/issues/930)) ([172c316](172c316))
* add Date-fns localizer ([jquense#1542](https://github.com/additio/react-big-calendar/issues/1542)) ([749c91c](749c91c))
* add dragging ability from the monthly Popup component ([jquense#1554](https://github.com/additio/react-big-calendar/issues/1554)) ([12233ef](12233ef))
* add horizontal scrolling for wide resource calendars ([jquense#921](https://github.com/additio/react-big-calendar/issues/921)) ([d1e90b1](d1e90b1))
* add onKeyPressEvent ([jquense#1754](https://github.com/additio/react-big-calendar/issues/1754)) ([ca8d77b](ca8d77b))
* add Rearrangement Algorithm Implementation ([jquense#1473](https://github.com/additio/react-big-calendar/issues/1473)) ([e622651](e622651))
* add resource to handleDropFromOutside ([jquense#1319](https://github.com/additio/react-big-calendar/issues/1319)) ([2b7ad2a](2b7ad2a))
* add resourceId to handleSelectAllDaySlot fns slotInfo ([jquense#1735](https://github.com/additio/react-big-calendar/issues/1735)) ([f00a516](f00a516))
* add resourceId to onSelecting callback ([jquense#1416](https://github.com/additio/react-big-calendar/issues/1416)) ([0c9b1f2](0c9b1f2))
* add selecting and drag cancelation ([jquense#1119](https://github.com/additio/react-big-calendar/issues/1119)) ([aa8f08b](aa8f08b))
* add Time Zone support using localizer date math ([jquense#2023](https://github.com/additio/react-big-calendar/issues/2023)) ([ad8defa](ad8defa))
* add timeGutterHeaderComponent ([jquense#874](https://github.com/additio/react-big-calendar/issues/874)) ([adc2078](adc2078)), closes [jquense#853](jquense#853)
* added continuesPrior and continuesAfter props to Event component ([jquense#1201](https://github.com/additio/react-big-calendar/issues/1201)) ([74a2233](74a2233))
* adding bounds and box on slot select in Month view ([jquense#1241](https://github.com/additio/react-big-calendar/issues/1241)) ([2a870b0](2a870b0))
* adding tabbable events ([jquense#987](https://github.com/additio/react-big-calendar/issues/987)) ([6a94e72](6a94e72))
* Adding TS, hooks, and Vite ([1559333](1559333))
* allow using custom event wrapper component while dragging ([jquense#2228](https://github.com/additio/react-big-calendar/issues/2228)) ([afa8824](afa8824)), closes [jquense#1864](https://github.com/additio/react-big-calendar/issues/1864)
* Dayjs localizer ([jquense#2264](https://github.com/additio/react-big-calendar/issues/2264)) ([537c6f3](537c6f3))
* Disable autoscroll functionality,  Add a functionality to disable auto-scroll on calendar render. ([aa8f374](aa8f374))
* DnD support for custom DropWrapper components (dayWrapper and dateCellWrapper) ([jquense#843](https://github.com/additio/react-big-calendar/issues/843)) ([d372f0d](d372f0d))
* **dnd:** add onDropFromOutside prop for Dnd Cal ([jquense#1290](https://github.com/additio/react-big-calendar/issues/1290)) ([b9fdce4](b9fdce4)), closes [jquense#1090](https://github.com/additio/react-big-calendar/issues/1090)
* **dnd:** add preview of an item inside cell while dragging ([jquense#1369](https://github.com/additio/react-big-calendar/issues/1369)) ([ac715f8](ac715f8))
* **dnd:** implement callback on initializing drag or resize action ([jquense#1206](https://github.com/additio/react-big-calendar/issues/1206)) ([0fa2c30](0fa2c30)), closes [jquense#1205](https://github.com/additio/react-big-calendar/issues/1205)
* **DnD:** support to/from allDay events in demos ([b067ad0](b067ad0))
* drop warning ([jquense#1455](https://github.com/additio/react-big-calendar/issues/1455)) ([77004e2](77004e2))
* **events:** default events prop to an empty array ([jquense#2161](https://github.com/additio/react-big-calendar/issues/2161)) ([efac0b2](efac0b2)), closes [jquense#1708](https://github.com/additio/react-big-calendar/issues/1708)
* handleRangeChange, handleViewChange refactored to pass fresh `view` to onRangeChange when view changed; ([jquense#1100](https://github.com/additio/react-big-calendar/issues/1100)) ([befac9f](befac9f))
* hide single day header with css ([jquense#1019](https://github.com/additio/react-big-calendar/issues/1019)) ([5857d8f](5857d8f))
* improve toolbar responsiveness for mobile devices ([jquense#900](https://github.com/additio/react-big-calendar/issues/900)) ([cd10e6f](cd10e6f))
* **localizers:** move localizer dependencies ([e4a3235](e4a3235))
* pass resourceId to slotPropGetter ([jquense#1101](https://github.com/additio/react-big-calendar/issues/1101)) ([0e1e1a0](0e1e1a0))
* provide named exports api ([jquense#1348](https://github.com/additio/react-big-calendar/issues/1348)) ([4e09704](4e09704))
* redeclared all sass variables as !default ([jquense#1321](https://github.com/additio/react-big-calendar/issues/1321)) ([c4f09cd](c4f09cd))
* remove propTypes in production ([jquense#1180](https://github.com/additio/react-big-calendar/issues/1180)) ([ce0d56b](ce0d56b))
* remove unneeded dependencies ([jquense#2215](https://github.com/additio/react-big-calendar/issues/2215)) ([fb05151](fb05151))
* replace unsafe deprecated methods ([jquense#2216](https://github.com/additio/react-big-calendar/issues/2216)) ([c5c6a8b](c5c6a8b)), closes [jquense#1200](https://github.com/additio/react-big-calendar/issues/1200) [jquense#1777](https://github.com/additio/react-big-calendar/issues/1777) [jquense#1481](https://github.com/additio/react-big-calendar/issues/1481) [jquense#2126](https://github.com/additio/react-big-calendar/issues/2126) [jquense#2104](https://github.com/additio/react-big-calendar/issues/2104) [jquense#2105](https://github.com/additio/react-big-calendar/issues/2105) [jquense#1526](https://github.com/additio/react-big-calendar/issues/1526)
* revamp Drag and drop ([d2e02c4](d2e02c4))
* Slot group prop getter ([jquense#1471](https://github.com/additio/react-big-calendar/issues/1471)) ([jquense#1510](https://github.com/additio/react-big-calendar/issues/1510)) ([fcb9b9a](fcb9b9a))
* sort by event end date if start dates are equal ([dddf4e1](dddf4e1))
* starting to hooks to avoid deprecation warnings ([jquense#1687](https://github.com/additio/react-big-calendar/issues/1687)) ([b8368f9](b8368f9))
* switch to Sass for styles ([884bece](884bece))
* **time-gutter-wrapper:** expose time gutter wrapper component ([jquense#2236](https://github.com/additio/react-big-calendar/issues/2236)) ([39ff8a1](39ff8a1))
* update react-overlays dependency ([jquense#1816](https://github.com/additio/react-big-calendar/issues/1816)) ([5490207](5490207)), closes [jquense#1813](https://github.com/additio/react-big-calendar/issues/1813)
* upgrade react-overlays ([jquense#1421](https://github.com/additio/react-big-calendar/issues/1421)) ([9117549](9117549))
* use custom event wrapper when dragging ([jquense#2221](https://github.com/additio/react-big-calendar/issues/2221)) ([73ed69a](73ed69a)), closes [jquense#1864](https://github.com/additio/react-big-calendar/issues/1864)
* use lodash-es for esm bundle ([jquense#1350](https://github.com/additio/react-big-calendar/issues/1350)) ([fb0fe5e](fb0fe5e))

### Performance Improvements

* increase startup time of event dragging ([jquense#1020](https://github.com/additio/react-big-calendar/issues/1020)) ([167b69f](167b69f))

### BREAKING CHANGES

* **localizers:** moment, luxon and globalize are no longer bundled
* must use named exports for additional RBC imports

```js
import {
  Calendar,
  DateLocalizer,
  momentLocalizer,
  globalizeLocalizer,
  move,
  Views,
  Navigate,
  components
} from 'react-big-calendar';
```
* Less files have been replaced with Sass versions
* Calendar wrapper components props have changed
* react-dnd is no longer used internally with no external API
github-actions bot pushed a commit to additio/react-big-calendar that referenced this pull request Apr 5, 2023
# 1.0.0 (2023-04-05)

### Bug Fixes

*  `dayLayoutAlgorithm` prop with custom function ([jquense#1562](https://github.com/additio/react-big-calendar/issues/1562)) ([3fb3c49](3fb3c49))
* 1px misalignment ([jquense#2367](https://github.com/additio/react-big-calendar/issues/2367)) ([7479b4d](7479b4d))
* a bug that the height of the column is broken when displayed in IE11 ([jquense#1789](https://github.com/additio/react-big-calendar/issues/1789)) ([a0538ee](a0538ee))
* add new method to get correct time indicator top position | fixes [jquense#1396](https://github.com/additio/react-big-calendar/issues/1396) ([jquense#1447](https://github.com/additio/react-big-calendar/issues/1447)) ([1cf0205](1cf0205))
* add runtime to deps ([ade68bb](ade68bb))
* added fallback to getNow ([jquense#1140](https://github.com/additio/react-big-calendar/issues/1140)) ([13459b0](13459b0))
* **addons:** do not cut end while dragging multiday event ([jquense#1342](https://github.com/additio/react-big-calendar/issues/1342)) ([6fab261](6fab261))
* adjust TimeGutter for DST ([jquense#2205](https://github.com/additio/react-big-calendar/issues/2205)) ([4ba1255](4ba1255))
* **Agenda:** consider start & end of day to filter events ([6c9c05b](6c9c05b))
* allow override onShowMore callback ([jquense#1214](https://github.com/additio/react-big-calendar/issues/1214)) ([8fefeee](8fefeee)), closes [/github.com/intljusticemission/react-big-calendar/blob/f9a873368a78f5ced81b799c4dffe1095b3ab712/src/Calendar.jsx#L280](https://github.com//github.com/intljusticemission/react-big-calendar/blob/f9a873368a78f5ced81b799c4dffe1095b3ab712/src/Calendar.jsx/issues/L280) [/github.com/intljusticemission/react-big-calendar/blob/1d62c432eaa183ed6b38f08cfcec5ee7edcbfe41/src/Month.js#L300-L307](https://github.com//github.com/intljusticemission/react-big-calendar/blob/1d62c432eaa183ed6b38f08cfcec5ee7edcbfe41/src/Month.js/issues/L300-L307) [jquense#1147](https://github.com/additio/react-big-calendar/issues/1147)
* Allow resize to last visible slot ([f26c8a7](f26c8a7)), closes [jquense#2147](https://github.com/additio/react-big-calendar/issues/2147)
* auto scroll on event selection ([jquense#2235](https://github.com/additio/react-big-calendar/issues/2235)) ([6d87ebb](6d87ebb)), closes [jquense#2233](https://github.com/additio/react-big-calendar/issues/2233)
* bad propType. ([jquense#1351](https://github.com/additio/react-big-calendar/issues/1351)) ([e704e17](e704e17))
* bug where appointments can appear outside the calendar ([jquense#1204](https://github.com/additio/react-big-calendar/issues/1204)) ([9689b7d](9689b7d))
* bug with dayWrapper not applying ([jquense#1196](https://github.com/additio/react-big-calendar/issues/1196)) ([f3ea6f8](f3ea6f8))
* bug with resize segments not being removed ([jquense#1800](https://github.com/additio/react-big-calendar/issues/1800)) ([34aec3a](34aec3a))
* bump memoize-one and migrate new isEqual API ([jquense#1583](https://github.com/additio/react-big-calendar/issues/1583)) ([4c904c2](4c904c2))
* calculation of slots number for date when DST ends. ([jquense#1046](https://github.com/additio/react-big-calendar/issues/1046)) ([2ca0226](2ca0226))
* calendar auto scroll while dragging event at top/bottom edge ([jquense#2230](https://github.com/additio/react-big-calendar/issues/2230)) ([d1c5085](d1c5085)), closes [jquense#2231](https://github.com/additio/react-big-calendar/issues/2231)
* change toolbar API to match top level onViewChange prop name ([b0a6dd7](b0a6dd7))
* common.nest() discarding custom components ([jquense#1114](https://github.com/additio/react-big-calendar/issues/1114)) ([5a432de](5a432de))
* Correct display of beginning DST ([bd8e0e9](bd8e0e9)), closes [jquense#1617](https://github.com/additio/react-big-calendar/issues/1617)
* Correct DragAndDrop event resizing in 'month' view ([e3d96e5](e3d96e5)), closes [jquense#2012](https://github.com/additio/react-big-calendar/issues/2012)
* Correct duration in DnD ([jquense#2034](https://github.com/additio/react-big-calendar/issues/2034)) ([304f78b](304f78b)), closes [jquense#2033](https://github.com/additio/react-big-calendar/issues/2033)
* Correct issue with semantic-release and yarn-lock ([cc48854](cc48854)), closes [jquense#2096](https://github.com/additio/react-big-calendar/issues/2096)
* Correct listener teardown ([abd4594](abd4594)), closes [jquense#2072](https://github.com/additio/react-big-calendar/issues/2072)
* correct luxon localizer formatting ([jquense#2172](https://github.com/additio/react-big-calendar/issues/2172)) ([b130351](b130351))
* Correct no overlap algorithm stretch behavior ([jquense#2120](https://github.com/additio/react-big-calendar/issues/2120)) ([c3f25eb](c3f25eb))
* correct popupOffset ([jquense#2218](https://github.com/additio/react-big-calendar/issues/2218)) ([6fdec30](6fdec30))
* correct publishing ([jquense#2350](https://github.com/additio/react-big-calendar/issues/2350)) ([ae15118](ae15118))
* Correct resize for multi-day event. ([jquense#2138](https://github.com/additio/react-big-calendar/issues/2138)) ([3632345](3632345))
* Correct resizing event bug in Week & Day ([jquense#2143](https://github.com/additio/react-big-calendar/issues/2143)) ([afa8468](afa8468))
* Correct scrollToTime functionailty ([jquense#2055](https://github.com/additio/react-big-calendar/issues/2055)) ([76e6254](76e6254)), closes [jquense#2028](https://github.com/additio/react-big-calendar/issues/2028) [jquense#1717](https://github.com/additio/react-big-calendar/issues/1717)
* correct storybook deploy ([jquense#2145](https://github.com/additio/react-big-calendar/issues/2145)) ([8c98fb2](8c98fb2))
* Correct the listeners reference ([a202d60](a202d60)), closes [jquense#2072](https://github.com/additio/react-big-calendar/issues/2072)
* correct time-header-gutter ([jquense#2219](https://github.com/additio/react-big-calendar/issues/2219)) ([160e251](160e251))
* correct TimeGutter ref ([jquense#2204](https://github.com/additio/react-big-calendar/issues/2204)) ([055cdd0](055cdd0)), closes [jquense#2201](https://github.com/additio/react-big-calendar/issues/2201)
* correct TimeGutter ref use ([574dbf7](574dbf7)), closes [jquense#2200](https://github.com/additio/react-big-calendar/issues/2200)
* correct treatment of boolean view in 'views' ([jquense#2368](https://github.com/additio/react-big-calendar/issues/2368)) ([0e6b771](0e6b771))
* Correct typo in custom view example ([267629b](267629b))
* Correct variable name that gets passed on to EventWrapper so dragndrop ha… ([jquense#2121](https://github.com/additio/react-big-calendar/issues/2121)) ([19294de](19294de))
* **date-fns localizer:** display dayFormat correctly ([jquense#1633](https://github.com/additio/react-big-calendar/issues/1633)) ([dd1e1a4](dd1e1a4))
* **dayViewLayout:** container event check ([3c4934e](3c4934e))
* different time format for multi day events when using moment ([jquense#919](https://github.com/additio/react-big-calendar/issues/919)) ([630b630](630b630))
* disable `absoluteRuntime` in babel-preset-react-app ([jquense#2155](https://github.com/additio/react-big-calendar/issues/2155)) ([b8fcb93](b8fcb93))
* DnD corner cases in allDay move/resize ([5380fee](5380fee))
* dnd freezes an event intermittently ([jquense#1631](https://github.com/additio/react-big-calendar/issues/1631)) ([e8609af](e8609af))
* **DND:** Corrects issue of losing droppable event when releasing on non-event related containers ([jquense#2199](https://github.com/additio/react-big-calendar/issues/2199)) ([508b668](508b668)), closes [jquense#2198](https://github.com/additio/react-big-calendar/issues/2198) [jquense#1902](https://github.com/additio/react-big-calendar/issues/1902)
* **dnd:** dont use classname ([jquense#2232](https://github.com/additio/react-big-calendar/issues/2232)) ([2332f12](2332f12))
* **Dnd:** Offset is not needed ([jquense#1892](https://github.com/additio/react-big-calendar/issues/1892)) ([caf820b](caf820b))
* **DnD:** selection in WeekView ([2813631](2813631))
* do not autoscroll on event selection ([jquense#2234](https://github.com/additio/react-big-calendar/issues/2234)) ([b85b1ff](b85b1ff)), closes [jquense#2233](https://github.com/additio/react-big-calendar/issues/2233)
* do not handle move event after terminating ([jquense#1104](https://github.com/additio/react-big-calendar/issues/1104)) ([bcc4d93](bcc4d93))
* do not send undefined/null gutterRef to getWidth ([jquense#2300](https://github.com/additio/react-big-calendar/issues/2300)) ([7b5f5b8](7b5f5b8))
* do the math ourselves ([jquense#2220](https://github.com/additio/react-big-calendar/issues/2220)) ([cace54e](cace54e))
* drag cancelation for month view ([jquense#1322](https://github.com/additio/react-big-calendar/issues/1322)) ([9c81e9e](9c81e9e))
* dragging is disabled if resizing is not allowed ([jquense#1072](https://github.com/additio/react-big-calendar/issues/1072)) ([jquense#1073](https://github.com/additio/react-big-calendar/issues/1073)) ([0d5ed30](0d5ed30))
* duplicate events ([jquense#1159](https://github.com/additio/react-big-calendar/issues/1159)) ([b8e26b0](b8e26b0))
* elements position on TimeGrid if max prop is set ([jquense#1057](https://github.com/additio/react-big-calendar/issues/1057)) ([f174a60](f174a60))
* enforce `resizable` prop ([jquense#1796](https://github.com/additio/react-big-calendar/issues/1796)) ([a18acc2](a18acc2))
* firefox event click bug ([jquense#1262](https://github.com/additio/react-big-calendar/issues/1262)) ([b526416](b526416)), closes [jquense#1173](https://github.com/additio/react-big-calendar/issues/1173)
* Fix top part of 24hour event in week/day view ([jquense#1732](https://github.com/additio/react-big-calendar/issues/1732)) ([e1e06b5](e1e06b5))
* Fixed publish script (fix [jquense#2330](https://github.com/additio/react-big-calendar/issues/2330)) ([jquense#2358](https://github.com/additio/react-big-calendar/issues/2358)) ([a4e54be](a4e54be))
* for TimeSlots ([jquense#1462](https://github.com/additio/react-big-calendar/issues/1462)) ([c31639a](c31639a))
* handleNavigate for undefined date ([jquense#889](https://github.com/additio/react-big-calendar/issues/889)) ([cc84f17](cc84f17))
* hide indicator when current time is not in the interval ([jquense#1639](https://github.com/additio/react-big-calendar/issues/1639)) ([92974bf](92974bf))
* ie fix for event bindings on unmounted components ([jquense#1338](https://github.com/additio/react-big-calendar/issues/1338)) ([8ef00d6](8ef00d6))
* incorrect babel imports in CJS/ESM builds ([jquense#2157](https://github.com/additio/react-big-calendar/issues/2157)) ([687b121](687b121))
* invalid prop-types. ([jquense#1435](https://github.com/additio/react-big-calendar/issues/1435)) ([61e1a1e](61e1a1e))
* issue with gutter width initialization ([jquense#1181](https://github.com/additio/react-big-calendar/issues/1181)) ([69b28af](69b28af))
* item preview inside cell while dragging from outside not working… ([jquense#1770](https://github.com/additio/react-big-calendar/issues/1770)) ([8fd6329](8fd6329))
* make scrollToTime=00:00 working ([jquense#1501](https://github.com/additio/react-big-calendar/issues/1501)) ([ee5a558](ee5a558))
* make sure time indicator is updated after navigation ([jquense#1082](https://github.com/additio/react-big-calendar/issues/1082)) ([07b2fa4](07b2fa4))
* Memory leak if Calendar is selectable [jquense#1940](https://github.com/additio/react-big-calendar/issues/1940) ([jquense#1941](https://github.com/additio/react-big-calendar/issues/1941)) ([a26e933](a26e933))
* minimum start difference for same row computation ([jquense#886](https://github.com/additio/react-big-calendar/issues/886)) ([jquense#909](https://github.com/additio/react-big-calendar/issues/909)) ([jquense#910](https://github.com/additio/react-big-calendar/issues/910)) ([a440b82](a440b82))
* misplacement of current time indicator ([jquense#1239](https://github.com/additio/react-big-calendar/issues/1239)) ([2d6e99e](2d6e99e)), closes [jquense#1054](https://github.com/additio/react-big-calendar/issues/1054)
* moment format strings -> date-fns format strings ([jquense#1568](https://github.com/additio/react-big-calendar/issues/1568)) ([1603902](1603902))
* **moment:** wrong time on the day when DST changes ([jquense#2374](https://github.com/additio/react-big-calendar/issues/2374)) ([b82ceb7](b82ceb7)), closes [jquense#2296](https://github.com/additio/react-big-calendar/issues/2296)
* mouse event propagation probs ([759a232](759a232))
* move @babel/cli to devDependencies ([jquense#1062](https://github.com/additio/react-big-calendar/issues/1062)) ([4cfcb1f](4cfcb1f))
* move react, react-dom to devDependencies ([jquense#2160](https://github.com/additio/react-big-calendar/issues/2160)) ([6917c15](6917c15))
* no-overlap layout algorithm ([jquense#2239](https://github.com/additio/react-big-calendar/issues/2239)) ([f7bfd11](f7bfd11)), closes [jquense#2240](https://github.com/additio/react-big-calendar/issues/2240)
* numGroups calculation ([jquense#1963](https://github.com/additio/react-big-calendar/issues/1963)) ([319a81c](319a81c))
* onRangeChange not passing localizer ([jquense#1056](https://github.com/additio/react-big-calendar/issues/1056)) ([80855e8](80855e8))
* pass dates to slotGroupPropGetter ([jquense#2066](https://github.com/additio/react-big-calendar/issues/2066)) ([943ae6e](943ae6e))
* prefix React lifecycle methods with UNSAFE ([jquense#1578](https://github.com/additio/react-big-calendar/issues/1578)) ([7b5a6a7](7b5a6a7))
* preserve time on horizontal resizing ([jquense#1795](https://github.com/additio/react-big-calendar/issues/1795)) ([1b186da](1b186da))
* prevent endless loop when adding event the DST begin day ([jquense#1635](https://github.com/additio/react-big-calendar/issues/1635)) ([b9abf77](b9abf77))
* prevent un/mounting of date components ([jquense#1276](https://github.com/additio/react-big-calendar/issues/1276)) ([3c25009](3c25009)), closes [/github.com/intljusticemission/react-big-calendar/blob/master/src/DateContentRow.js#L121](https://github.com//github.com/intljusticemission/react-big-calendar/blob/master/src/DateContentRow.js/issues/L121)
* proptype warnings ([jquense#1084](https://github.com/additio/react-big-calendar/issues/1084)) ([08c2494](08c2494))
* reference to draggable/resizable Accessor ([jquense#1070](https://github.com/additio/react-big-calendar/issues/1070)) ([1889a51](1889a51))
* remove duplicate getter prop ([jquense#1185](https://github.com/additio/react-big-calendar/issues/1185)) ([6b90182](6b90182))
* remove global window from Map() usage, update eslint rules for new es6 environment ([jquense#1195](https://github.com/additio/react-big-calendar/issues/1195)) ([4768188](4768188))
* Replace deprecated dependency ([a88da3f](a88da3f))
* replace findDOMNode with refs ([a902d20](a902d20)), closes [jquense#2193](https://github.com/additio/react-big-calendar/issues/2193)
* replace findDOMNode with refs (react 17) ([24f92fb](24f92fb))
* resolve resizing events in Month view ([c7b105f](c7b105f)), closes [jquense#2207](https://github.com/additio/react-big-calendar/issues/2207)
* revert ([jquense#2227](https://github.com/additio/react-big-calendar/issues/2227)) ([b81fa14](b81fa14))
* revert a bug that the height of the column is broken when displayed in IE11 ([jquense#1789](https://github.com/additio/react-big-calendar/issues/1789))" ([jquense#1805](https://github.com/additio/react-big-calendar/issues/1805)) ([41104fa](41104fa))
* revert change ([jquense#2223](https://github.com/additio/react-big-calendar/issues/2223)) ([bdb0595](bdb0595))
* rounding behavior in Luxon localizer ([jquense#2362](https://github.com/additio/react-big-calendar/issues/2362)) ([409cff1](409cff1)), closes [jquense#2361](https://github.com/additio/react-big-calendar/issues/2361)
* rtl incorrectly named or not propagated ([jquense#1353](https://github.com/additio/react-big-calendar/issues/1353)) ([caa863f](caa863f))
* rtl prop has to be passed to the DateContentRow ([jquense#915](https://github.com/additio/react-big-calendar/issues/915)) ([e0ae4f1](e0ae4f1))
* **sass:** Reference distributed folder in SASS compile ([jquense#2091](https://github.com/additio/react-big-calendar/issues/2091)) ([20502f3](20502f3)), closes [jquense#2086](https://github.com/additio/react-big-calendar/issues/2086)
* selecting events in chrome ([jquense#884](https://github.com/additio/react-big-calendar/issues/884)) ([558ee2d](558ee2d))
* selecting events in mobile browsers ([jquense#1233](https://github.com/additio/react-big-calendar/issues/1233)) ([2bc9fee](2bc9fee))
* set width ([jquense#2332](https://github.com/additio/react-big-calendar/issues/2332)) ([86b26cd](86b26cd))
* short-circuit handleInteractionEnd when no action is in progress ([jquense#1118](https://github.com/additio/react-big-calendar/issues/1118)) ([7a48b6a](7a48b6a))
* single/Double clicks on an event work again ([jquense#952](https://github.com/additio/react-big-calendar/issues/952)) ([ee8cdbe](ee8cdbe))
* support point-in-time events in the Agenda view ([jquense#1246](https://github.com/additio/react-big-calendar/issues/1246)) ([58c39c3](58c39c3))
* switch DnD to modern context API (was legacy) ([6def209](6def209)), closes [jquense#1795](https://github.com/additio/react-big-calendar/issues/1795) [jquense#1776](https://github.com/additio/react-big-calendar/issues/1776)
* temp fix for DayColumn render ([jquense#2224](https://github.com/additio/react-big-calendar/issues/2224)) ([48b23a2](48b23a2)), closes [jquense#2222](https://github.com/additio/react-big-calendar/issues/2222)
* time indicator placement ([071fa88](071fa88))
* TimeGrid display on DST change days when min is after the transition ([jquense#1303](https://github.com/additio/react-big-calendar/issues/1303)) ([b436017](b436017)), closes [jquense#1098](https://github.com/additio/react-big-calendar/issues/1098) [jquense#1273](https://github.com/additio/react-big-calendar/issues/1273)
* totalMin calculation in TimeSlots. ([jquense#965](https://github.com/additio/react-big-calendar/issues/965)) ([b761e86](b761e86))
* Trade href="#" anchors for stylized buttons ([jquense#2074](https://github.com/additio/react-big-calendar/issues/2074)) ([cd385f5](cd385f5))
* typo for prop titles ([jquense#2298](https://github.com/additio/react-big-calendar/issues/2298)) ([11fd6c8](11fd6c8))
* update react & react-dom peer-dep range to support 17.x ([jquense#1880](https://github.com/additio/react-big-calendar/issues/1880)) ([dbcc578](dbcc578))
* update time indicator position if max prop changes ([jquense#1379](https://github.com/additio/react-big-calendar/issues/1379)) ([ac945b7](ac945b7))
* update time indicator position if min prop changes ([jquense#1311](https://github.com/additio/react-big-calendar/issues/1311)) ([97ea841](97ea841))
* update TimeGrid on resources list change ([jquense#1135](https://github.com/additio/react-big-calendar/issues/1135)) ([91c6ec0](91c6ec0))
* update to current react-overlays ([jquense#2217](https://github.com/additio/react-big-calendar/issues/2217)) ([27ebe46](27ebe46)), closes [jquense#2186](https://github.com/additio/react-big-calendar/issues/2186)
* use accessors when determining dnd height. ([jquense#954](https://github.com/additio/react-big-calendar/issues/954)) ([be81065](be81065))
* use fixed date arithmetic lib and move bt-sass to devdepen… ([jquense#1374](https://github.com/additio/react-big-calendar/issues/1374)) ([b223a61](b223a61))
* use React.createRef instead of string refs ([jquense#1282](https://github.com/additio/react-big-calendar/issues/1282)) ([239f0a3](239f0a3))
* using wrong bounding box for hit testing ([f670719](f670719))
* zero duration no-overlap events ([jquense#2213](https://github.com/additio/react-big-calendar/issues/2213)) ([bbe1109](bbe1109))

### Features

* [jquense#1390](https://github.com/additio/react-big-calendar/issues/1390) use en dashes in ranges ([jquense#1391](https://github.com/additio/react-big-calendar/issues/1391)) ([7619e59](7619e59))
* Add `onSelectEvent` & `onDoubleClickEvent` support to Agenda ([c14f427](c14f427))
* add `showAllEvents` Calendar Prop ([jquense#1808](https://github.com/additio/react-big-calendar/issues/1808)) ([8ffe39d](8ffe39d))
* add ability to set custom resource headers ([jquense#1187](https://github.com/additio/react-big-calendar/issues/1187)) ([6708a45](6708a45)), closes [jquense#1174](https://github.com/additio/react-big-calendar/issues/1174)
* add agenda no events msg ([jquense#923](https://github.com/additio/react-big-calendar/issues/923)) ([51304f5](51304f5))
* add ARIA roles to month view ([jquense#1863](https://github.com/additio/react-big-calendar/issues/1863)) ([02bbeb1](02bbeb1))
* add background events feature ([jquense#1851](https://github.com/additio/react-big-calendar/issues/1851)) ([e797ab3](e797ab3)), closes [jquense#1727](https://github.com/additio/react-big-calendar/issues/1727)
* add commitlint ([b35e156](b35e156))
* add custom timeSlotWrapper support ([jquense#930](https://github.com/additio/react-big-calendar/issues/930)) ([172c316](172c316))
* add Date-fns localizer ([jquense#1542](https://github.com/additio/react-big-calendar/issues/1542)) ([749c91c](749c91c))
* add dragging ability from the monthly Popup component ([jquense#1554](https://github.com/additio/react-big-calendar/issues/1554)) ([12233ef](12233ef))
* add horizontal scrolling for wide resource calendars ([jquense#921](https://github.com/additio/react-big-calendar/issues/921)) ([d1e90b1](d1e90b1))
* add onKeyPressEvent ([jquense#1754](https://github.com/additio/react-big-calendar/issues/1754)) ([ca8d77b](ca8d77b))
* add Rearrangement Algorithm Implementation ([jquense#1473](https://github.com/additio/react-big-calendar/issues/1473)) ([e622651](e622651))
* add resource to handleDropFromOutside ([jquense#1319](https://github.com/additio/react-big-calendar/issues/1319)) ([2b7ad2a](2b7ad2a))
* add resourceId to handleSelectAllDaySlot fns slotInfo ([jquense#1735](https://github.com/additio/react-big-calendar/issues/1735)) ([f00a516](f00a516))
* add resourceId to onSelecting callback ([jquense#1416](https://github.com/additio/react-big-calendar/issues/1416)) ([0c9b1f2](0c9b1f2))
* add selecting and drag cancelation ([jquense#1119](https://github.com/additio/react-big-calendar/issues/1119)) ([aa8f08b](aa8f08b))
* add Time Zone support using localizer date math ([jquense#2023](https://github.com/additio/react-big-calendar/issues/2023)) ([ad8defa](ad8defa))
* add timeGutterHeaderComponent ([jquense#874](https://github.com/additio/react-big-calendar/issues/874)) ([adc2078](adc2078)), closes [jquense#853](jquense#853)
* added continuesPrior and continuesAfter props to Event component ([jquense#1201](https://github.com/additio/react-big-calendar/issues/1201)) ([74a2233](74a2233))
* adding bounds and box on slot select in Month view ([jquense#1241](https://github.com/additio/react-big-calendar/issues/1241)) ([2a870b0](2a870b0))
* adding tabbable events ([jquense#987](https://github.com/additio/react-big-calendar/issues/987)) ([6a94e72](6a94e72))
* Adding TS, hooks, and Vite ([1559333](1559333))
* allow using custom event wrapper component while dragging ([jquense#2228](https://github.com/additio/react-big-calendar/issues/2228)) ([afa8824](afa8824)), closes [jquense#1864](https://github.com/additio/react-big-calendar/issues/1864)
* Dayjs localizer ([jquense#2264](https://github.com/additio/react-big-calendar/issues/2264)) ([537c6f3](537c6f3))
* Disable autoscroll functionality,  Add a functionality to disable auto-scroll on calendar render. ([aa8f374](aa8f374))
* DnD support for custom DropWrapper components (dayWrapper and dateCellWrapper) ([jquense#843](https://github.com/additio/react-big-calendar/issues/843)) ([d372f0d](d372f0d))
* **dnd:** add onDropFromOutside prop for Dnd Cal ([jquense#1290](https://github.com/additio/react-big-calendar/issues/1290)) ([b9fdce4](b9fdce4)), closes [jquense#1090](https://github.com/additio/react-big-calendar/issues/1090)
* **dnd:** add preview of an item inside cell while dragging ([jquense#1369](https://github.com/additio/react-big-calendar/issues/1369)) ([ac715f8](ac715f8))
* **dnd:** implement callback on initializing drag or resize action ([jquense#1206](https://github.com/additio/react-big-calendar/issues/1206)) ([0fa2c30](0fa2c30)), closes [jquense#1205](https://github.com/additio/react-big-calendar/issues/1205)
* **DnD:** support to/from allDay events in demos ([b067ad0](b067ad0))
* drop warning ([jquense#1455](https://github.com/additio/react-big-calendar/issues/1455)) ([77004e2](77004e2))
* **events:** default events prop to an empty array ([jquense#2161](https://github.com/additio/react-big-calendar/issues/2161)) ([efac0b2](efac0b2)), closes [jquense#1708](https://github.com/additio/react-big-calendar/issues/1708)
* handleRangeChange, handleViewChange refactored to pass fresh `view` to onRangeChange when view changed; ([jquense#1100](https://github.com/additio/react-big-calendar/issues/1100)) ([befac9f](befac9f))
* hide single day header with css ([jquense#1019](https://github.com/additio/react-big-calendar/issues/1019)) ([5857d8f](5857d8f))
* improve toolbar responsiveness for mobile devices ([jquense#900](https://github.com/additio/react-big-calendar/issues/900)) ([cd10e6f](cd10e6f))
* **localizers:** move localizer dependencies ([e4a3235](e4a3235))
* pass resourceId to slotPropGetter ([jquense#1101](https://github.com/additio/react-big-calendar/issues/1101)) ([0e1e1a0](0e1e1a0))
* provide named exports api ([jquense#1348](https://github.com/additio/react-big-calendar/issues/1348)) ([4e09704](4e09704))
* redeclared all sass variables as !default ([jquense#1321](https://github.com/additio/react-big-calendar/issues/1321)) ([c4f09cd](c4f09cd))
* remove propTypes in production ([jquense#1180](https://github.com/additio/react-big-calendar/issues/1180)) ([ce0d56b](ce0d56b))
* remove unneeded dependencies ([jquense#2215](https://github.com/additio/react-big-calendar/issues/2215)) ([fb05151](fb05151))
* replace unsafe deprecated methods ([jquense#2216](https://github.com/additio/react-big-calendar/issues/2216)) ([c5c6a8b](c5c6a8b)), closes [jquense#1200](https://github.com/additio/react-big-calendar/issues/1200) [jquense#1777](https://github.com/additio/react-big-calendar/issues/1777) [jquense#1481](https://github.com/additio/react-big-calendar/issues/1481) [jquense#2126](https://github.com/additio/react-big-calendar/issues/2126) [jquense#2104](https://github.com/additio/react-big-calendar/issues/2104) [jquense#2105](https://github.com/additio/react-big-calendar/issues/2105) [jquense#1526](https://github.com/additio/react-big-calendar/issues/1526)
* revamp Drag and drop ([d2e02c4](d2e02c4))
* Slot group prop getter ([jquense#1471](https://github.com/additio/react-big-calendar/issues/1471)) ([jquense#1510](https://github.com/additio/react-big-calendar/issues/1510)) ([fcb9b9a](fcb9b9a))
* sort by event end date if start dates are equal ([dddf4e1](dddf4e1))
* starting to hooks to avoid deprecation warnings ([jquense#1687](https://github.com/additio/react-big-calendar/issues/1687)) ([b8368f9](b8368f9))
* switch to Sass for styles ([884bece](884bece))
* **time-gutter-wrapper:** expose time gutter wrapper component ([jquense#2236](https://github.com/additio/react-big-calendar/issues/2236)) ([39ff8a1](39ff8a1))
* update react-overlays dependency ([jquense#1816](https://github.com/additio/react-big-calendar/issues/1816)) ([5490207](5490207)), closes [jquense#1813](https://github.com/additio/react-big-calendar/issues/1813)
* upgrade react-overlays ([jquense#1421](https://github.com/additio/react-big-calendar/issues/1421)) ([9117549](9117549))
* use custom event wrapper when dragging ([jquense#2221](https://github.com/additio/react-big-calendar/issues/2221)) ([73ed69a](73ed69a)), closes [jquense#1864](https://github.com/additio/react-big-calendar/issues/1864)
* use lodash-es for esm bundle ([jquense#1350](https://github.com/additio/react-big-calendar/issues/1350)) ([fb0fe5e](fb0fe5e))

### Performance Improvements

* increase startup time of event dragging ([jquense#1020](https://github.com/additio/react-big-calendar/issues/1020)) ([167b69f](167b69f))

### BREAKING CHANGES

* **localizers:** moment, luxon and globalize are no longer bundled
* must use named exports for additional RBC imports

```js
import {
  Calendar,
  DateLocalizer,
  momentLocalizer,
  globalizeLocalizer,
  move,
  Views,
  Navigate,
  components
} from 'react-big-calendar';
```
* Less files have been replaced with Sass versions
* Calendar wrapper components props have changed
* react-dnd is no longer used internally with no external API
@quanghuyTiPiCi
Copy link

quanghuyTiPiCi commented Aug 1, 2023

Why function reset not trigger after drag event from popup to outside, segment always !== null. Event is dragged overide another event.
image
image
localhost_3000_binh-thuan_lich-phat - Google Chrome 2023-08-01 11-57-12

@cutterbl
Copy link
Collaborator

cutterbl commented Aug 1, 2023

@quanghuyTiPiCi What do you mean by 'override another event'? Are you saying that the layout algorithm is no longer sorting the event correctly? It's hard for me to tell, without times being shown on your event layout.

@quanghuyTiPiCi
Copy link

what i mean is that after dropping the event, EventRow component is not hidden. You can see the image above

@cutterbl
Copy link
Collaborator

cutterbl commented Aug 1, 2023

@quanghuyTiPiCi So, again, the little video isn't really clear. Explain to me exactly what it is that you think is supposed to happen, as opposed to exactly what it is that (you think) is happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants