-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
fix: #2565 doubleClick #2571
fix: #2565 doubleClick #2571
Conversation
@forceddd I am now seeing the |
@cutterbl In my locally running project, the 2024-04-24.10.19.32.mov |
Thanks @forceddd for opening this PR. I can confirm |
@forceddd My bad. Was looking at this wrong. All good. |
🎉 This PR is included in version 1.11.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Fixes jquense#1795. Related to jquense#1776. fix: replace findDOMNode with refs (react 17) also upg date-arithmetic dep & some minor cleanup chore(DnD): Move api info to README, minor cleanup feat(DnD): support to/from allDay events in demos chore(deps): upgrade storybook fix: mouse event propagation probs fix: using wrong bounding box for hit testing fix: DnD corner cases in allDay move/resize chore(DnD): DRY out common utility fn chore(DnD): HOC extend base propTypes/defaultProps fix(DnD): selection in WeekView fix: update react & react-dom peer-dep range to support 17.x (jquense#1880) fix(Dnd): Offset is not needed (jquense#1892) fix: Memory leak if Calendar is selectable jquense#1940 (jquense#1941) For end date in month view slot selection increase day by 1. Add the same logic for select all day slot Introduce DayColumnWrapper hook Add new doShowMoreDrillDown prop to help properly control the "show more" action fix(Agenda): consider start & end of day to filter events Fix typos in prop descriptions Use https for github pages link fix: numGroups calculation (jquense#1963) stop propagation to avoid popup closing immediatly with react 17 Improve the date-fns example in readme Per date-fns/date-fns#2474, the `date-fns` example in the readme might've been wrong/broken. I am not familiar with your project, so please double-check that this suggestion is OK! Update README.md Keep cherry-picked imports in date-fns example Update README.md remove comma and semi-colons to match previous style feat: sort by event end date if start dates are equal feat: add commitlint docs: all custom components documentation (jquense#2014) * add comma in documentation comments for component agenda * move unrendered information from calendar to intro file * add messages example * add resourceheader to list of components Co-authored-by: khendrikse <k.hendrikse@youngcapital.nl> feat: add Time Zone support using localizer date math (jquense#2023) * full timezone support with moment * chore: remove comment * chore: Add timeswitching example * chore: continued tz efforts * chore(timezones): Finalize core bits for handling timezones * docs: Add documentation * chore: CI tests don't like modern syntax * chore: Move DST calculations in to the localizers * chore: Further refine math from localizer * chore: Further refine localizer date math around same date comparison * chore: Finalize all date methods being called from localizer * chore: Corrections to momentLocalizer getEventRange * chore: Refine and use moment comparison operations * chore: general cleanup * chore: Rebuild examples * fix: Correct moment localizer range() method, to ensure all dates handled as tz * chore: Use clearer variable name * fix: Correct method return * fix: Correct usages of let and const for better GC and immutability * feat: Add a new luxonLocalizer and expand documentation * tests: Tested for the new luxonLocalizer Still have to figure out how to run all tests for each localizer in a single test run * chore: Bundle examples * chore: Reset the examples script from local ip usage * fix: startOfWeek/endOfWeek calculations According to the CLDR supplemental data, locales can have the first day of the week as Friday, Saturday, Sunday or Monday, so we need to properly calculate the beginning of our calendar week. * chore: fix comment * fix: Remove that localIp bit again * chore: General cleanup * fix: Correct luxon endOfWeek * fix: Correct endOfDTWeek fix: Correct duration in DnD (jquense#2034) feat: Add `onSelectEvent` & `onDoubleClickEvent` support to Agenda feat: Adding TS, hooks, and Vite fix: Correct scrollToTime functionailty (jquense#2055) * fix: Correct scrollToTime functionailty Fix the calculateScroll method in the TimeGrid * chore: Remove localIp bits git push * Revert "chore: Remove localIp bits" This reverts commit 0eaae8c. * chore: Remove localIp bits Fix: make the isSelected function work if the value is equal without being the exact reference ci: Move from node-sass to Dart Sass fix: Correct the listeners reference Fix the `Selection.teardown()` method to reference the correct variable ci: Fix package and changelog updates on release Typo in custom view Fix typo in custom view example chore(release): set `package.json` to 0.38.3 [skip ci] * Correct typo in custom view example ([267629b](jquense@267629b)) fix(sass): Reference distributed folder in SASS compile (jquense#2091) * fix(sass): Reference distributed folder in SASS compile Since `./src` folder is not distributed with package install, we must reference the `./lib` folder for proper sourcemapping (jquense#2086). * chore: Manually update package version for bump test chore(release): set `package.json` to 0.38.4 [skip ci] * **sass:** Reference distributed folder in SASS compile ([jquense#2091](jquense#2091)) ([20502f3](jquense@20502f3)), closes [jquense#2086](jquense#2086) ci(release): Update to @semantic-release/git config (jquense#2092) This properly commits the package.json update post publish fix: Correct issue with semantic-release and yarn-lock chore(release): set `package.json` to 0.38.5 [skip ci] * Correct issue with semantic-release and yarn-lock ([cc48854](jquense@cc48854)), closes [jquense#2096](jquense#2096) fix: Correct DragAndDrop event resizing in 'month' view This corrects an issue where resizing an event (dragging handle to the right) would add an additional day, in certain scenarios. chore(release): set `package.json` to 0.38.6 [skip ci] * Correct DragAndDrop event resizing in 'month' view ([e3d96e5](jquense@e3d96e5)), closes [jquense#2012](jquense#2012) fix: Correct display of beginning DST This corrects jquense#1617, fixing the display of the TimeGutter times as well as correcting event layouts from the momentLocalizer, while maintaining date math within the localizers. chore(release): set `package.json` to 0.38.7 [skip ci] * Correct display of beginning DST ([bd8e0e9](jquense@bd8e0e9)), closes [jquense#1617](jquense#1617) fix: Correct variable name that gets passed on to EventWrapper so dragndrop ha… (jquense#2121) Fix variable name that gets passed on to EventWrapper so dragndrop has access to continuesPrior and continuesAfter flags. Based on these flags, drag n drop determine whether to show north-south anchors for multi day events. chore(release): set `package.json` to 0.38.8 [skip ci] * Correct variable name that gets passed on to EventWrapper so dragndrop ha… ([jquense#2121](jquense#2121)) ([19294de](jquense@19294de)) fix: Correct no overlap algorithm stretch behavior (jquense#2120) chore(release): set `package.json` to 0.38.9 [skip ci] * Correct no overlap algorithm stretch behavior ([jquense#2120](jquense#2120)) ([c3f25eb](jquense@c3f25eb)) chore: Update bootstrap-sass (jquense#2136) Update resolves the deprecation warnings coming from the dart-sass compiler feat: Disable autoscroll functionality, Add a functionality to disable auto-scroll on calendar render. chore(release): set `package.json` to 0.39.0 [skip ci] * Disable autoscroll functionality, Add a functionality to disable auto-scroll on calendar render. ([aa8f374](jquense@aa8f374)) fix: Correct resizing event bug in Week & Day (jquense#2143) Co-authored-by: huangyuning <huangyuning@vv.cn> chore(release): set `package.json` to 0.39.1 [skip ci] * Correct resizing event bug in Week & Day ([jquense#2143](jquense#2143)) ([afa8468](jquense@afa8468)) fix: Correct resize for multi-day event. (jquense#2138) chore(release): set `package.json` to 0.39.2 [skip ci] * Correct resize for multi-day event. ([jquense#2138](jquense#2138)) ([3632345](jquense@3632345)) chore: Expose slotMetrics to DayColumnWrapper component (jquense#2132) fix: Trade href="#" anchors for stylized buttons (jquense#2074) chore(release): set `package.json` to 0.39.3 [skip ci] * Trade href="#" anchors for stylized buttons ([jquense#2074](jquense#2074)) ([cd385f5](jquense@cd385f5)) docs: Complete Documentation Rewrite (jquense#2108) Co-authored-by: huangyuning <huangyuning@vv.cn> Co-authored-by: aLeSangK <le.sang@access-company.com> Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net> Co-authored-by: Dhruv Goel <dhruv.goel92@gmail.com> Co-authored-by: Matheus Mello <mat.mello93@gmail.com> Co-authored-by: Pietro Coelho <pietrofxq@gmail.com> Co-authored-by: Old_dream <yuninghuang8@gmail.com> fix: correct storybook deploy (jquense#2145) chore(release): set `package.json` to 0.39.4 [skip ci] * correct storybook deploy ([jquense#2145](jquense#2145)) ([8c98fb2](jquense@8c98fb2)) docs: spelling error (jquense#2146) fix: disable `absoluteRuntime` in babel-preset-react-app (jquense#2155) chore(release): set `package.json` to 0.39.5 [skip ci] * disable `absoluteRuntime` in babel-preset-react-app ([jquense#2155](jquense#2155)) ([b8fcb93](jquense@b8fcb93)) fix: incorrect babel imports in CJS/ESM builds (jquense#2157) chore(release): set `package.json` to 0.39.6 [skip ci] * incorrect babel imports in CJS/ESM builds ([jquense#2157](jquense#2157)) ([687b121](jquense@687b121)) fix: move react, react-dom to devDependencies (jquense#2160) chore(release): set `package.json` to 0.39.7 [skip ci] * move react, react-dom to devDependencies ([jquense#2160](jquense#2160)) ([6917c15](jquense@6917c15)) feat(events): default events prop to an empty array (jquense#2161) Changes to default props to no longer make events required, defaulting to an empty array chore(release): set `package.json` to 0.40.0 [skip ci] * **events:** default events prop to an empty array ([jquense#2161](jquense#2161)) ([efac0b2](jquense@efac0b2)), closes [jquense#1708](jquense#1708) fix: correct luxon localizer formatting (jquense#2172) chore(release): set `package.json` to 0.40.1 [skip ci] * correct luxon localizer formatting ([jquense#2172](jquense#2172)) ([b130351](jquense@b130351)) Added support for React v18.x.x fix: Allow resize to last visible slot Resolves issue with resizing an event to the end of the viewable TimeGrid chore(release): set `package.json` to 0.40.2 [skip ci] * Allow resize to last visible slot ([f26c8a7](jquense@f26c8a7)), closes [jquense#2147](jquense#2147) fix(DND): Corrects issue of losing droppable event when releasing on non-event related containers (jquense#2199) chore(release): set `package.json` to 0.40.3 [skip ci] * **DND:** Corrects issue of losing droppable event when releasing on non-event related containers ([jquense#2199](jquense#2199)) ([508b668](jquense@508b668)), closes [jquense#2198](jquense#2198) [jquense#1902](jquense#1902) fix: replace findDOMNode with refs chore(release): set `package.json` to 0.40.4 [skip ci] * replace findDOMNode with refs ([a902d20](jquense@a902d20)), closes [jquense#2193](jquense#2193) fix: correct TimeGutter ref use This resolves an issue with errors thrown in TimeGrid views chore(release): set `package.json` to 0.40.5 [skip ci] * correct TimeGutter ref use ([574dbf7](jquense@574dbf7)), closes [jquense#2200](jquense#2200) fix: correct TimeGutter ref (jquense#2204) Corrects issue with TimeGutter ref in TimeGrid views chore(release): set `package.json` to 0.40.6 [skip ci] * correct TimeGutter ref ([jquense#2204](jquense#2204)) ([055cdd0](jquense@055cdd0)), closes [jquense#2201](jquense#2201) fix: adjust TimeGutter for DST (jquense#2205) Handle memoization of 'start' and 'end' to prevent infinite useEffect, and add DST fix back to the TimeGutter chore(release): set `package.json` to 0.40.7 [skip ci] * adjust TimeGutter for DST ([jquense#2205](jquense#2205)) ([4ba1255](jquense@4ba1255)) fix: resolve resizing events in Month view Resolves issue where user could no longer resize events in the Month view. chore(release): set `package.json` to 0.40.8 [skip ci] * resolve resizing events in Month view ([c7b105f](jquense@c7b105f)), closes [jquense#2207](jquense#2207) feat(localizers): move localizer dependencies Move moment, moment-timezone, luxon and globalize from devDependencies to dependencies, requiring devs to explicitly include in their projects. Update other dependencies. BREAKING CHANGE: moment, luxon and globalize are no longer bundled chore(release): set `package.json` to 1.0.0 [skip ci] * **localizers:** move localizer dependencies ([e4a3235](jquense@e4a3235)) * **localizers:** moment, luxon and globalize are no longer bundled fix: zero duration no-overlap events (jquense#2213) Corrects issue with the no-overlap algorithm with events that have no duration chore(release): set `package.json` to 1.0.1 [skip ci] * zero duration no-overlap events ([jquense#2213](jquense#2213)) ([bbe1109](jquense@bbe1109)) feat: remove unneeded dependencies (jquense#2215) Remove all bootstrap and font-awesome dependencies, as well as undistributed LESS files and fonts chore(release): set `package.json` to 1.1.0 [skip ci] * remove unneeded dependencies ([jquense#2215](jquense#2215)) ([fb05151](jquense@fb05151)) feat: replace unsafe deprecated methods (jquense#2216) This replaces deprecated React methods from the components, leading the way to eventual StrictMode compliance. chore(release): set `package.json` to 1.2.0 [skip ci] * replace unsafe deprecated methods ([jquense#2216](jquense#2216)) ([c5c6a8b](jquense@c5c6a8b)), closes [jquense#1200](jquense#1200) [jquense#1777](jquense#1777) [jquense#1481](jquense#1481) [jquense#2126](jquense#2126) [jquense#2104](jquense#2104) [jquense#2105](jquense#2105) [jquense#1526](jquense#1526) fix: update to current react-overlays (jquense#2217) Update react-overlays to resolve issues with StrictMode, and constrain popup to within Month container. chore(release): set `package.json` to 1.2.1 [skip ci] * update to current react-overlays ([jquense#2217](jquense#2217)) ([27ebe46](jquense@27ebe46)), closes [jquense#2186](jquense#2186) fix: correct popupOffset (jquense#2218) Correct error when popupOffset is an object chore(release): set `package.json` to 1.2.2 [skip ci] * correct popupOffset ([jquense#2218](jquense#2218)) ([6fdec30](jquense@6fdec30)) fix: correct time-header-gutter (jquense#2219) make sure the header gutter is measured properly chore(release): set `package.json` to 1.2.3 [skip ci] * correct time-header-gutter ([jquense#2219](jquense#2219)) ([160e251](jquense@160e251)) fix: do the math ourselves (jquense#2220) Remove requirement for SASS math plugin by doing the math ourselves chore(release): set `package.json` to 1.2.4 [skip ci] * do the math ourselves ([jquense#2220](jquense#2220)) ([cace54e](jquense@cace54e)) feat: use custom event wrapper when dragging (jquense#2221) Closes jquense#1864 chore(release): set `package.json` to 1.3.0 [skip ci] * use custom event wrapper when dragging ([jquense#2221](jquense#2221)) ([73ed69a](jquense@73ed69a)), closes [jquense#1864](jquense#1864) fix: revert change (jquense#2223) Pull changes chore(release): set `package.json` to 1.3.1 [skip ci] * revert change ([jquense#2223](jquense#2223)) ([bdb0595](jquense@bdb0595)) fix: temp fix for DayColumn render (jquense#2224) This will work until we can refactor as a functional component with hooks Closes jquense#2222 chore(release): set `package.json` to 1.3.2 [skip ci] * temp fix for DayColumn render ([jquense#2224](jquense#2224)) ([48b23a2](jquense@48b23a2)), closes [jquense#2222](jquense#2222) fix: revert (jquense#2227) Have to roll back changes until we can refactor as functional component with hooks chore(release): set `package.json` to 1.3.3 [skip ci] * revert ([jquense#2227](jquense#2227)) ([b81fa14](jquense@b81fa14)) feat: allow using custom event wrapper component while dragging (jquense#2228) Closes jquense#1864 chore(release): set `package.json` to 1.4.0 [skip ci] * allow using custom event wrapper component while dragging ([jquense#2228](jquense#2228)) ([afa8824](jquense@afa8824)), closes [jquense#1864](jquense#1864) fix(dnd): dont use classname (jquense#2232) allow for className object usage chore(release): set `package.json` to 1.4.1 [skip ci] * **dnd:** dont use classname ([jquense#2232](jquense#2232)) ([2332f12](jquense@2332f12)) fix: do not autoscroll on event selection (jquense#2234) Closes jquense#2233 chore(release): set `package.json` to 1.4.2 [skip ci] * do not autoscroll on event selection ([jquense#2234](jquense#2234)) ([b85b1ff](jquense@b85b1ff)), closes [jquense#2233](jquense#2233) fix: auto scroll on event selection (jquense#2235) Fixes jquense#2233 chore(release): set `package.json` to 1.4.3 [skip ci] * auto scroll on event selection ([jquense#2235](jquense#2235)) ([6d87ebb](jquense@6d87ebb)), closes [jquense#2233](jquense#2233) feat(time-gutter-wrapper): expose time gutter wrapper component (jquense#2236) Allows clients to override the time gutter wrapper. chore(release): set `package.json` to 1.5.0 [skip ci] * **time-gutter-wrapper:** expose time gutter wrapper component ([jquense#2236](jquense#2236)) ([39ff8a1](jquense@39ff8a1)) docs: add demo image to README (jquense#2237) Update to README Thanks to ipiranhaa for the idea docs: make "Docs" tab default (jquense#2289) fix: typo for prop titles (jquense#2298) chore(release): set `package.json` to 1.5.1 [skip ci] * typo for prop titles ([jquense#2298](jquense#2298)) ([11fd6c8](jquense@11fd6c8)) fix: do not send undefined/null gutterRef to getWidth (jquense#2300) chore(release): set `package.json` to 1.5.2 [skip ci] * do not send undefined/null gutterRef to getWidth ([jquense#2300](jquense#2300)) ([7b5f5b8](jquense@7b5f5b8)) feat: Dayjs localizer (jquense#2264) * docs: fixed instructions to run examples locally * fix: luxon story now uses luxon instead of moment * fix(moment localizer): removed comments about 'day' and 'date' in the call to isSame() * feat: created dayjs localizer * fix(dayjs localizer): min() & max() now both behave correctly when a default timezone is applied * docs(localizer guide): edited last two paragraphs to include the new localizer * fix(dayjs localizer): dayjs plugins are now loaded by the localizer * docs: updated README.md & exampleCode to reflect dayjs plugins being loaded by the localizer * docs(localizer props): added dayjs example & sorted examples alphabetically * docs(exampleCode dayjs): use dayjs to construct date based props * test: added commented out dayjs configuration * revert(README.md): remove note on node 16 storybook requirement * fix(dayjs localizer): dayjs plugins are now loaded by the dayjsLocalizer * docs(dayjs localizer): mention dayjs plugins being loaded by the dayjsLocalizer * docs(timezones): mention the dayjsLocalizer's ability to handle timezones too Big thanks to @marnixhoh for the effort and patience chore(release): set `package.json` to 1.6.0 [skip ci] * Dayjs localizer ([jquense#2264](jquense#2264)) ([537c6f3](jquense@537c6f3)) ci: correct release (jquense#2326) ci: update storybook (jquense#2327) Updates to multiple dependencies, including all Storybook dependencies, all testing dependencies, and multiple ci/automation dependencies. Babel and Rollup will require research and minor process refactoring. ci: correct release (jquense#2331) fix: set width (jquense#2332) chore(release): set `package.json` to 1.6.1 [skip ci] * set width ([jquense#2332](jquense#2332)) ([86b26cd](jquense@86b26cd)) ci: attempt resolution (jquense#2333) docs: add slack invite links (jquense#2335) Add invite to new Slack workspace. fix: no-overlap layout algorithm (jquense#2239) Corrects issue with no-overlap layout ci: update config (jquense#2340) ci: update build configuration (jquense#2341) Updated Babel, ESLint and Rollup dependencies Removed sizeSnapshot, which is not compatible with ESM ci: update action (jquense#2342) Attempt to use the semantic-release GitHub Action ci: update configs (jquense#2343) fix: correct publishing (jquense#2350) Another attempt chore(release): set `package.json` to 1.6.2 [skip ci] * correct publishing ([jquense#2350](jquense#2350)) ([ae15118](jquense@ae15118)) * no-overlap layout algorithm ([jquense#2239](jquense#2239)) ([f7bfd11](jquense@f7bfd11)), closes [jquense#2240](jquense#2240) ci: try again (jquense#2351) and another ci: the old college try (jquense#2352) ci: with publishConfig (jquense#2353) ci: and another (jquense#2354) ci: once again (jquense#2355) ci: and again (jquense#2356) ci: still trying (jquense#2357) fix: Fixed publish script (fix jquense#2330) (jquense#2358) chore(release): set `package.json` to 1.6.3 [skip ci] * Fixed publish script (fix [jquense#2330](jquense#2330)) ([jquense#2358](jquense#2358)) ([a4e54be](jquense@a4e54be)) ci: update doc release (jquense#2360) fix: rounding behavior in Luxon localizer (jquense#2362) Round down the date difference returned in the diff function of the luxon localizer to the nearest whole number, aligning the behavior with other localizers. chore(release): set `package.json` to 1.6.4 [skip ci] * rounding behavior in Luxon localizer ([jquense#2362](jquense#2362)) ([409cff1](jquense@409cff1)), closes [jquense#2361](jquense#2361) ci: update Storybook (jquense#2365) Update Storybook to 6.5.16 fix: calendar auto scroll while dragging event at top/bottom edge (jquense#2230) Closes jquense#2231 chore(release): set `package.json` to 1.6.5 [skip ci] * calendar auto scroll while dragging event at top/bottom edge ([jquense#2230](jquense#2230)) ([d1c5085](jquense@d1c5085)), closes [jquense#2231](jquense#2231) fix: pass dates to slotGroupPropGetter (jquense#2066) Fixes an issue where you could not properly style slot groups chore(release): set `package.json` to 1.6.6 [skip ci] * pass dates to slotGroupPropGetter ([jquense#2066](jquense#2066)) ([943ae6e](jquense@943ae6e)) fix: 1px misalignment (jquense#2367) Correct slight misalignment between the `TimeGridHeader` and the scrollbar chore(release): set `package.json` to 1.6.7 [skip ci] * 1px misalignment ([jquense#2367](jquense#2367)) ([7479b4d](jquense@7479b4d)) fix: correct treatment of boolean view in 'views' (jquense#2368) chore(release): set `package.json` to 1.6.8 [skip ci] * correct treatment of boolean view in 'views' ([jquense#2368](jquense#2368)) ([0e6b771](jquense@0e6b771)) fix(moment): wrong time on the day when DST changes (jquense#2374) Corrects issue with DST offset when using the moment or Luxon localizers Thanks to @bu6n for the fix chore(release): set `package.json` to 1.6.9 [skip ci] * **moment:** wrong time on the day when DST changes ([jquense#2374](jquense#2374)) ([b82ceb7](jquense@b82ceb7)), closes [jquense#2296](jquense#2296) docs: add decorator to wrap story in container (jquense#2385) feat: Support multiple resources on an event Allows for defining multiple resources on a single event, so that the event can display in multiple resource columns simultaneously Co-authored-by: Jim Hlad <jim@yabhq.com> Co-authored-by: Jim Hlad <jimhlad@gmail.com> chore(release): set `package.json` to 1.7.0 [skip ci] * Support multiple resources on an event ([91155c5](jquense@91155c5)), closes [jquense#2405](jquense#2405) [jquense#1649](jquense#1649) feat(allDayMaxRows): Allow for more granular control Allows for more granular control over the number of events display in the all day row at the top of the TimeGrid Co-authored-by: Arturo Fornes <arturo.fornes@nextiva.com> Closes jquense#2386 chore(release): set `package.json` to 1.8.0 [skip ci] * **allDayMaxRows:** Allow for more granular control ([36871bf](jquense@36871bf)), closes [jquense#2386](jquense#2386) docs: add resourceId to onSelectSlot documentation (jquense#2408) fix: scrollToTime does not work properly, when min specified (jquense#2051) Fixed a bug that prevented scrollToTime does not working properly, when min specified. chore(release): set `package.json` to 1.8.1 [skip ci] * scrollToTime does not work properly, when min specified ([jquense#2051](jquense#2051)) ([04c1888](jquense@04c1888)) fix(rtl DnD): Dragging an event in the RTL month view calendar gets confused to the wrong side (jquense#2426) chore(release): set `package.json` to 1.8.2 [skip ci] * **rtl DnD:** Dragging an event in the RTL month view calendar gets confused to the wrong side ([jquense#2426](jquense#2426)) ([ebe8c2c](jquense@ebe8c2c)), closes [jquense#2310](jquense#2310) [jquense#1801](jquense#1801) ci: update Globalize (jquense#2430) ci: revert globalize dependency upgrade messaging (jquense#2431) Revert 'globalize' dependency upgrade, and mark for future work fix: Modify events.js (jquense#2444) Name change due to Itaewon Halloween disaster. chore(release): set `package.json` to 1.8.3 [skip ci] * Modify events.js ([jquense#2444](jquense#2444)) ([2a838d9](jquense@2a838d9)) fix: typo (jquense#2443) Quick PR to fix the typo in the docs chore(release): set `package.json` to 1.8.4 [skip ci] * typo ([jquense#2443](jquense#2443)) ([407e168](jquense@407e168)) fix: fixing invalid ref with invalid scrollHeight (jquense#2459) chore(release): set `package.json` to 1.8.5 [skip ci] * fixing invalid ref with invalid scrollHeight ([jquense#2459](jquense#2459)) ([a4bc8f3](jquense@a4bc8f3)) docs: Update README.md New Slack group invite link Made events accessible in week and day views (jquense#2473) docs: Update Slack Invite in README.md fix(DnD): dragAndDrop EventWrapper.js error: cannot add property 'X', object is not extensible * Fix dragAndDrop EventWrapper.js error: cannot add property 'X', object is not extensible Fix for error: cannot add property 'X', object is not extensible An error appears when trying to modify this.props. The solution is to create a copy of the props using JSON.parse() and JSON.stringify() https://stackoverflow.com/questions/55567386/react-cannot-add-property-x-object-is-not-extensible * Update EventWrapper.js --------- Co-authored-by: martinvu-dev <137462692+martinvu-dev@users.noreply.github.com> chore(release): set `package.json` to 1.8.6 [skip ci] * **DnD:** dragAndDrop EventWrapper.js error: cannot add property 'X', object is not extensible ([0c4826a](jquense@0c4826a)) fix: add isBackgroundEvent to onSelectEvent event obj (jquense#2491) Adds isBackgroundEvent flag to 'event' objects passed to `onSelectEvent`. This allows the user to tailor their `onSelectEvent` methods for different functionality, if the selected `event` is a `backgroundEvent` chore(release): set `package.json` to 1.8.7 [skip ci] * add isBackgroundEvent to onSelectEvent event obj ([jquense#2491](jquense#2491)) ([fdbb496](jquense@fdbb496)) docs: update onSelectEvent prop story (jquense#2492) feat: showMore message add event info (jquense#2496) * feat: showMore message add event info * feat: add remaining events and all events in day --------- authored-by: mutao.zht <mutao.zht@alibaba-inc.com> chore(release): set `package.json` to 1.9.0 [skip ci] * showMore message add event info ([jquense#2496](jquense#2496)) ([18012b7](jquense@18012b7)) fix(dnd): move merge components Resolves issue with using the DnD HOC where components are not receiving state updates chore(release): set `package.json` to 1.9.1 [skip ci] * **dnd:** move merge components ([fd02261](jquense@fd02261)), closes [jquense#2359](jquense#2359) fix: changed flex-direction for rbc-toolbar mobile (jquense#2497) chore(release): set `package.json` to 1.9.2 [skip ci] * changed flex-direction for rbc-toolbar mobile ([jquense#2497](jquense#2497)) ([8d7b20d](jquense@8d7b20d)), closes [jquense#1699](jquense#1699) Update README.md Update the Slack invite link feat(event sort): update event sort for multi day (jquense#2502) This changes the event sort used in the Month view to prioritize items in this order - Multi Day events first - Then all day events - Then by start time - Then by end time chore(release): set `package.json` to 1.10.0 [skip ci] * **event sort:** update event sort for multi day ([jquense#2502](jquense#2502)) ([ff209d0](jquense@ff209d0)) docs: correct some linking (jquense#2507) fix(ARIA): remove tabindex (jquense#2508) The tabindex, applied to the event div, creates invalid ARIA component nesting chore(release): set `package.json` to 1.10.1 [skip ci] * **ARIA:** remove tabindex ([jquense#2508](jquense#2508)) ([7e01c3d](jquense@7e01c3d)), closes [jquense#2498](jquense#2498) Update CONTRIBUTING.md Update README.md fix: day events sort fixed (jquense#2512) Co-authored-by: mutao.zht <mutao.zht@alibaba-inc.com> chore(release): set `package.json` to 1.10.2 [skip ci] * day events sort fixed ([jquense#2512](jquense#2512)) ([ac1ff00](jquense@ac1ff00)) fix overlapping background events (jquense#2510) fixes jquense#2452 (Thanks to @chazzlabs) fix: to build (jquense#2517) chore(release): set `package.json` to 1.10.3 [skip ci] * to build ([jquense#2517](jquense#2517)) ([621fc7e](jquense@621fc7e)) feat: add citation file (jquense#2523) Authors cited have 20 or more commits to Big Calendar chore(release): set `package.json` to 1.11.0 [skip ci] * add citation file ([jquense#2523](jquense#2523)) ([3de0059](jquense@3de0059)) fix: replace deprecated onKeyPress by onKeyDown chore(release): set `package.json` to 1.11.1 [skip ci] * replace deprecated onKeyPress by onKeyDown ([21f51f2](jquense@21f51f2)) fix: correct slotMetrics issue in TimeGrid Co-authored-by: forceddd <jixiang.dong@sparkedu.com> chore(release): set `package.json` to 1.11.2 [skip ci] * correct slotMetrics issue in TimeGrid ([e25f187](jquense@e25f187)), closes [jquense#2529](jquense#2529) docs: update Slack invite link in README.md fix(Selection): handling of terminating event * fix: _handleTerminatingEvent * fix: reset _lastClickData --------- Co-authored-by: forceddd <jixiang.dong@sparkedu.com> chore(release): set `package.json` to 1.11.3 [skip ci] * **Selection:** handling of terminating event ([937b4c5](jquense@937b4c5)) fix: Correct selection issues * fix: issue 2536 * fix: drag selection upward * fix: keep the original logic --------- Co-authored-by: forceddd <jixiang.dong@sparkedu.com> chore(release): set `package.json` to 1.11.4 [skip ci] * Correct selection issues ([def4934](jquense@def4934)) fix(stories): fix not working links in docs (jquense#2559) chore(release): set `package.json` to 1.11.5 [skip ci] * **stories:** fix not working links in docs ([jquense#2559](jquense#2559)) ([295957c](jquense@295957c)) fix(docs): correct link for 'props' in 'Understanding Dates' guide (jquense#2562) chore(release): set `package.json` to 1.11.6 [skip ci] * **docs:** correct link for 'props' in 'Understanding Dates' guide ([jquense#2562](jquense#2562)) ([59982ae](jquense@59982ae)) fix: correcting doubleClick (jquense#2571) Co-authored-by: forceddd <jixiang.dong@sparkedu.com> chore(release): set `package.json` to 1.11.7 [skip ci] * correcting doubleClick ([jquense#2571](jquense#2571)) ([775993c](jquense@775993c)), closes [jquense#2565](jquense#2565) feat(translations): translate CONTRIBUTING.md to Arabic (jquense#2558) Huge Thanks to @ikrammt for their translation Translate README to Arabic (jquense#2572) Co-authored-by: Fatma Alzhra Emad Mohamed <fatmaalzhraemadmohamed@Fatmas-MacBook-Air.local> chore(release): set `package.json` to 1.12.0 [skip ci] * **translations:** translate CONTRIBUTING.md to Arabic ([jquense#2558](jquense#2558)) ([ae64158](jquense@ae64158)) fix: fixing Drag and Drop Examples link closes jquense#2585 chore(release): set `package.json` to 1.12.1 [skip ci] * fixing Drag and Drop Examples link ([fa4a378](jquense@fa4a378)), closes [jquense#2585](jquense#2585) docs: update Slack invite link (jquense#2598) closes jquense#2595 fix: bug with dnd drag drop (jquense#2602) Added an if statement to account for the second case, and changed the updated state value to use the correct allDay value (Thanks to ganning127) closes jquense#2601 chore(release): set `package.json` to 1.12.2 [skip ci] * bug with dnd drag drop ([jquense#2602](jquense#2602)) ([799a72a](jquense@799a72a)), closes [jquense#2601](jquense#2601) feat: pass resource prop to DayColumnWrapper Closes jquense#2607 chore(release): set `package.json` to 1.13.0 [skip ci] * pass resource prop to DayColumnWrapper ([77760aa](jquense@77760aa)), closes [jquense#2607](jquense#2607)
# 1.0.0 (2024-08-12) ### Bug Fixes * `dayLayoutAlgorithm` prop with custom function ([jquense#1562](https://github.com/Xetoxyc/react-big-calendar/issues/1562)) ([3fb3c49](3fb3c49)) * 1px misalignment ([jquense#2367](https://github.com/Xetoxyc/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/Xetoxyc/react-big-calendar/issues/1789)) ([a0538ee](a0538ee)) * add isBackgroundEvent to onSelectEvent event obj ([jquense#2491](https://github.com/Xetoxyc/react-big-calendar/issues/2491)) ([fdbb496](fdbb496)) * add new method to get correct time indicator top position | fixes [jquense#1396](https://github.com/Xetoxyc/react-big-calendar/issues/1396) ([jquense#1447](https://github.com/Xetoxyc/react-big-calendar/issues/1447)) ([1cf0205](1cf0205)) * add runtime to deps ([ade68bb](ade68bb)) * added fallback to getNow ([jquense#1140](https://github.com/Xetoxyc/react-big-calendar/issues/1140)) ([13459b0](13459b0)) * **addons:** do not cut end while dragging multiday event ([jquense#1342](https://github.com/Xetoxyc/react-big-calendar/issues/1342)) ([6fab261](6fab261)) * adjust TimeGutter for DST ([jquense#2205](https://github.com/Xetoxyc/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/Xetoxyc/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/Xetoxyc/react-big-calendar/issues/1147) * Allow resize to last visible slot ([f26c8a7](f26c8a7)), closes [jquense#2147](https://github.com/Xetoxyc/react-big-calendar/issues/2147) * **ARIA:** remove tabindex ([jquense#2508](https://github.com/Xetoxyc/react-big-calendar/issues/2508)) ([7e01c3d](7e01c3d)), closes [jquense#2498](https://github.com/Xetoxyc/react-big-calendar/issues/2498) * auto scroll on event selection ([jquense#2235](https://github.com/Xetoxyc/react-big-calendar/issues/2235)) ([6d87ebb](6d87ebb)), closes [jquense#2233](https://github.com/Xetoxyc/react-big-calendar/issues/2233) * bad propType. ([jquense#1351](https://github.com/Xetoxyc/react-big-calendar/issues/1351)) ([e704e17](e704e17)) * bug where appointments can appear outside the calendar ([jquense#1204](https://github.com/Xetoxyc/react-big-calendar/issues/1204)) ([9689b7d](9689b7d)) * bug with dayWrapper not applying ([jquense#1196](https://github.com/Xetoxyc/react-big-calendar/issues/1196)) ([f3ea6f8](f3ea6f8)) * bug with dnd drag drop ([jquense#2602](https://github.com/Xetoxyc/react-big-calendar/issues/2602)) ([799a72a](799a72a)), closes [jquense#2601](https://github.com/Xetoxyc/react-big-calendar/issues/2601) * bug with resize segments not being removed ([jquense#1800](https://github.com/Xetoxyc/react-big-calendar/issues/1800)) ([34aec3a](34aec3a)) * bump memoize-one and migrate new isEqual API ([jquense#1583](https://github.com/Xetoxyc/react-big-calendar/issues/1583)) ([4c904c2](4c904c2)) * calculation of slots number for date when DST ends. ([jquense#1046](https://github.com/Xetoxyc/react-big-calendar/issues/1046)) ([2ca0226](2ca0226)) * calendar auto scroll while dragging event at top/bottom edge ([jquense#2230](https://github.com/Xetoxyc/react-big-calendar/issues/2230)) ([d1c5085](d1c5085)), closes [jquense#2231](https://github.com/Xetoxyc/react-big-calendar/issues/2231) * change toolbar API to match top level onViewChange prop name ([b0a6dd7](b0a6dd7)) * changed flex-direction for rbc-toolbar mobile ([jquense#2497](https://github.com/Xetoxyc/react-big-calendar/issues/2497)) ([8d7b20d](8d7b20d)), closes [jquense#1699](https://github.com/Xetoxyc/react-big-calendar/issues/1699) * common.nest() discarding custom components ([jquense#1114](https://github.com/Xetoxyc/react-big-calendar/issues/1114)) ([5a432de](5a432de)) * Correct display of beginning DST ([bd8e0e9](bd8e0e9)), closes [jquense#1617](https://github.com/Xetoxyc/react-big-calendar/issues/1617) * Correct DragAndDrop event resizing in 'month' view ([e3d96e5](e3d96e5)), closes [jquense#2012](https://github.com/Xetoxyc/react-big-calendar/issues/2012) * Correct duration in DnD ([jquense#2034](https://github.com/Xetoxyc/react-big-calendar/issues/2034)) ([304f78b](304f78b)), closes [jquense#2033](https://github.com/Xetoxyc/react-big-calendar/issues/2033) * Correct issue with semantic-release and yarn-lock ([cc48854](cc48854)), closes [jquense#2096](https://github.com/Xetoxyc/react-big-calendar/issues/2096) * Correct listener teardown ([abd4594](abd4594)), closes [jquense#2072](https://github.com/Xetoxyc/react-big-calendar/issues/2072) * correct luxon localizer formatting ([jquense#2172](https://github.com/Xetoxyc/react-big-calendar/issues/2172)) ([b130351](b130351)) * correct nested sass ([jquense#2641](https://github.com/Xetoxyc/react-big-calendar/issues/2641)) ([88bdf77](88bdf77)) * Correct no overlap algorithm stretch behavior ([jquense#2120](https://github.com/Xetoxyc/react-big-calendar/issues/2120)) ([c3f25eb](c3f25eb)) * correct popupOffset ([jquense#2218](https://github.com/Xetoxyc/react-big-calendar/issues/2218)) ([6fdec30](6fdec30)) * correct publishing ([jquense#2350](https://github.com/Xetoxyc/react-big-calendar/issues/2350)) ([ae15118](ae15118)) * Correct resize for multi-day event. ([jquense#2138](https://github.com/Xetoxyc/react-big-calendar/issues/2138)) ([3632345](3632345)) * Correct resizing event bug in Week & Day ([jquense#2143](https://github.com/Xetoxyc/react-big-calendar/issues/2143)) ([afa8468](afa8468)) * Correct scrollToTime functionailty ([jquense#2055](https://github.com/Xetoxyc/react-big-calendar/issues/2055)) ([76e6254](76e6254)), closes [jquense#2028](https://github.com/Xetoxyc/react-big-calendar/issues/2028) [jquense#1717](https://github.com/Xetoxyc/react-big-calendar/issues/1717) * Correct selection issues ([def4934](def4934)) * correct slotMetrics issue in TimeGrid ([e25f187](e25f187)), closes [jquense#2529](https://github.com/Xetoxyc/react-big-calendar/issues/2529) * correct storybook deploy ([jquense#2145](https://github.com/Xetoxyc/react-big-calendar/issues/2145)) ([8c98fb2](8c98fb2)) * Correct the listeners reference ([a202d60](a202d60)), closes [jquense#2072](https://github.com/Xetoxyc/react-big-calendar/issues/2072) * correct time-header-gutter ([jquense#2219](https://github.com/Xetoxyc/react-big-calendar/issues/2219)) ([160e251](160e251)) * correct TimeGutter ref ([jquense#2204](https://github.com/Xetoxyc/react-big-calendar/issues/2204)) ([055cdd0](055cdd0)), closes [jquense#2201](https://github.com/Xetoxyc/react-big-calendar/issues/2201) * correct TimeGutter ref use ([574dbf7](574dbf7)), closes [jquense#2200](https://github.com/Xetoxyc/react-big-calendar/issues/2200) * correct treatment of boolean view in 'views' ([jquense#2368](https://github.com/Xetoxyc/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/Xetoxyc/react-big-calendar/issues/2121)) ([19294de](19294de)) * correcting doubleClick ([jquense#2571](https://github.com/Xetoxyc/react-big-calendar/issues/2571)) ([775993c](775993c)), closes [jquense#2565](https://github.com/Xetoxyc/react-big-calendar/issues/2565) * **date-fns localizer:** display dayFormat correctly ([jquense#1633](https://github.com/Xetoxyc/react-big-calendar/issues/1633)) ([dd1e1a4](dd1e1a4)) * day events sort fixed ([jquense#2512](https://github.com/Xetoxyc/react-big-calendar/issues/2512)) ([ac1ff00](ac1ff00)) * **dayViewLayout:** container event check ([3c4934e](3c4934e)) * different time format for multi day events when using moment ([jquense#919](https://github.com/Xetoxyc/react-big-calendar/issues/919)) ([630b630](630b630)) * disable `absoluteRuntime` in babel-preset-react-app ([jquense#2155](https://github.com/Xetoxyc/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/Xetoxyc/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/Xetoxyc/react-big-calendar/issues/2199)) ([508b668](508b668)), closes [jquense#2198](https://github.com/Xetoxyc/react-big-calendar/issues/2198) [jquense#1902](https://github.com/Xetoxyc/react-big-calendar/issues/1902) * **dnd:** dont use classname ([jquense#2232](https://github.com/Xetoxyc/react-big-calendar/issues/2232)) ([2332f12](2332f12)) * **DnD:** dragAndDrop EventWrapper.js error: cannot add property 'X', object is not extensible ([0c4826a](0c4826a)) * **dnd:** move merge components ([fd02261](fd02261)), closes [jquense#2359](https://github.com/Xetoxyc/react-big-calendar/issues/2359) * **Dnd:** Offset is not needed ([jquense#1892](https://github.com/Xetoxyc/react-big-calendar/issues/1892)) ([caf820b](caf820b)) * **DnD:** selection in WeekView ([2813631](2813631)) * do not autoscroll on event selection ([jquense#2234](https://github.com/Xetoxyc/react-big-calendar/issues/2234)) ([b85b1ff](b85b1ff)), closes [jquense#2233](https://github.com/Xetoxyc/react-big-calendar/issues/2233) * do not handle move event after terminating ([jquense#1104](https://github.com/Xetoxyc/react-big-calendar/issues/1104)) ([bcc4d93](bcc4d93)) * do not send undefined/null gutterRef to getWidth ([jquense#2300](https://github.com/Xetoxyc/react-big-calendar/issues/2300)) ([7b5f5b8](7b5f5b8)) * do the math ourselves ([jquense#2220](https://github.com/Xetoxyc/react-big-calendar/issues/2220)) ([cace54e](cace54e)) * **docs:** correct link for 'props' in 'Understanding Dates' guide ([jquense#2562](https://github.com/Xetoxyc/react-big-calendar/issues/2562)) ([59982ae](59982ae)) * drag cancelation for month view ([jquense#1322](https://github.com/Xetoxyc/react-big-calendar/issues/1322)) ([9c81e9e](9c81e9e)) * dragging is disabled if resizing is not allowed ([jquense#1072](https://github.com/Xetoxyc/react-big-calendar/issues/1072)) ([jquense#1073](https://github.com/Xetoxyc/react-big-calendar/issues/1073)) ([0d5ed30](0d5ed30)) * duplicate events ([jquense#1159](https://github.com/Xetoxyc/react-big-calendar/issues/1159)) ([b8e26b0](b8e26b0)) * elements position on TimeGrid if max prop is set ([jquense#1057](https://github.com/Xetoxyc/react-big-calendar/issues/1057)) ([f174a60](f174a60)) * enforce `resizable` prop ([jquense#1796](https://github.com/Xetoxyc/react-big-calendar/issues/1796)) ([a18acc2](a18acc2)) * firefox event click bug ([jquense#1262](https://github.com/Xetoxyc/react-big-calendar/issues/1262)) ([b526416](b526416)), closes [jquense#1173](https://github.com/Xetoxyc/react-big-calendar/issues/1173) * Fix top part of 24hour event in week/day view ([jquense#1732](https://github.com/Xetoxyc/react-big-calendar/issues/1732)) ([e1e06b5](e1e06b5)) * Fixed publish script (fix [jquense#2330](https://github.com/Xetoxyc/react-big-calendar/issues/2330)) ([jquense#2358](https://github.com/Xetoxyc/react-big-calendar/issues/2358)) ([a4e54be](a4e54be)) * fixing Drag and Drop Examples link ([fa4a378](fa4a378)), closes [jquense#2585](https://github.com/Xetoxyc/react-big-calendar/issues/2585) * fixing invalid ref with invalid scrollHeight ([jquense#2459](https://github.com/Xetoxyc/react-big-calendar/issues/2459)) ([a4bc8f3](a4bc8f3)) * for TimeSlots ([jquense#1462](https://github.com/Xetoxyc/react-big-calendar/issues/1462)) ([c31639a](c31639a)) * handleNavigate for undefined date ([jquense#889](https://github.com/Xetoxyc/react-big-calendar/issues/889)) ([cc84f17](cc84f17)) * hide indicator when current time is not in the interval ([jquense#1639](https://github.com/Xetoxyc/react-big-calendar/issues/1639)) ([92974bf](92974bf)) * ie fix for event bindings on unmounted components ([jquense#1338](https://github.com/Xetoxyc/react-big-calendar/issues/1338)) ([8ef00d6](8ef00d6)) * incorrect babel imports in CJS/ESM builds ([jquense#2157](https://github.com/Xetoxyc/react-big-calendar/issues/2157)) ([687b121](687b121)) * invalid prop-types. ([jquense#1435](https://github.com/Xetoxyc/react-big-calendar/issues/1435)) ([61e1a1e](61e1a1e)) * issue with gutter width initialization ([jquense#1181](https://github.com/Xetoxyc/react-big-calendar/issues/1181)) ([69b28af](69b28af)) * item preview inside cell while dragging from outside not working… ([jquense#1770](https://github.com/Xetoxyc/react-big-calendar/issues/1770)) ([8fd6329](8fd6329)) * make day event to hourly event after move ([b72fb30](b72fb30)) * make scrollToTime=00:00 working ([jquense#1501](https://github.com/Xetoxyc/react-big-calendar/issues/1501)) ([ee5a558](ee5a558)) * make sure time indicator is updated after navigation ([jquense#1082](https://github.com/Xetoxyc/react-big-calendar/issues/1082)) ([07b2fa4](07b2fa4)) * Memory leak if Calendar is selectable [jquense#1940](https://github.com/Xetoxyc/react-big-calendar/issues/1940) ([jquense#1941](https://github.com/Xetoxyc/react-big-calendar/issues/1941)) ([a26e933](a26e933)) * minimum start difference for same row computation ([jquense#886](https://github.com/Xetoxyc/react-big-calendar/issues/886)) ([jquense#909](https://github.com/Xetoxyc/react-big-calendar/issues/909)) ([jquense#910](https://github.com/Xetoxyc/react-big-calendar/issues/910)) ([a440b82](a440b82)) * misplacement of current time indicator ([jquense#1239](https://github.com/Xetoxyc/react-big-calendar/issues/1239)) ([2d6e99e](2d6e99e)), closes [jquense#1054](https://github.com/Xetoxyc/react-big-calendar/issues/1054) * Modify events.js ([jquense#2444](https://github.com/Xetoxyc/react-big-calendar/issues/2444)) ([2a838d9](2a838d9)) * moment format strings -> date-fns format strings ([jquense#1568](https://github.com/Xetoxyc/react-big-calendar/issues/1568)) ([1603902](1603902)) * **moment:** wrong time on the day when DST changes ([jquense#2374](https://github.com/Xetoxyc/react-big-calendar/issues/2374)) ([b82ceb7](b82ceb7)), closes [jquense#2296](https://github.com/Xetoxyc/react-big-calendar/issues/2296) * mouse event propagation probs ([759a232](759a232)) * move @babel/cli to devDependencies ([jquense#1062](https://github.com/Xetoxyc/react-big-calendar/issues/1062)) ([4cfcb1f](4cfcb1f)) * move react, react-dom to devDependencies ([jquense#2160](https://github.com/Xetoxyc/react-big-calendar/issues/2160)) ([6917c15](6917c15)) * no-overlap layout algorithm ([jquense#2239](https://github.com/Xetoxyc/react-big-calendar/issues/2239)) ([f7bfd11](f7bfd11)), closes [jquense#2240](https://github.com/Xetoxyc/react-big-calendar/issues/2240) * numGroups calculation ([jquense#1963](https://github.com/Xetoxyc/react-big-calendar/issues/1963)) ([319a81c](319a81c)) * onRangeChange not passing localizer ([jquense#1056](https://github.com/Xetoxyc/react-big-calendar/issues/1056)) ([80855e8](80855e8)) * pass dates to slotGroupPropGetter ([jquense#2066](https://github.com/Xetoxyc/react-big-calendar/issues/2066)) ([943ae6e](943ae6e)) * prefix React lifecycle methods with UNSAFE ([jquense#1578](https://github.com/Xetoxyc/react-big-calendar/issues/1578)) ([7b5a6a7](7b5a6a7)) * preserve time on horizontal resizing ([jquense#1795](https://github.com/Xetoxyc/react-big-calendar/issues/1795)) ([1b186da](1b186da)) * prevent endless loop when adding event the DST begin day ([jquense#1635](https://github.com/Xetoxyc/react-big-calendar/issues/1635)) ([b9abf77](b9abf77)) * prevent un/mounting of date components ([jquense#1276](https://github.com/Xetoxyc/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/Xetoxyc/react-big-calendar/issues/1084)) ([08c2494](08c2494)) * reference to draggable/resizable Accessor ([jquense#1070](https://github.com/Xetoxyc/react-big-calendar/issues/1070)) ([1889a51](1889a51)) * remove duplicate getter prop ([jquense#1185](https://github.com/Xetoxyc/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/Xetoxyc/react-big-calendar/issues/1195)) ([4768188](4768188)) * Replace deprecated dependency ([a88da3f](a88da3f)) * replace deprecated onKeyPress by onKeyDown ([21f51f2](21f51f2)) * replace findDOMNode with refs ([a902d20](a902d20)), closes [jquense#2193](https://github.com/Xetoxyc/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/Xetoxyc/react-big-calendar/issues/2207) * revert ([jquense#2227](https://github.com/Xetoxyc/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/Xetoxyc/react-big-calendar/issues/1789))" ([jquense#1805](https://github.com/Xetoxyc/react-big-calendar/issues/1805)) ([41104fa](41104fa)) * revert change ([jquense#2223](https://github.com/Xetoxyc/react-big-calendar/issues/2223)) ([bdb0595](bdb0595)) * rounding behavior in Luxon localizer ([jquense#2362](https://github.com/Xetoxyc/react-big-calendar/issues/2362)) ([409cff1](409cff1)), closes [jquense#2361](https://github.com/Xetoxyc/react-big-calendar/issues/2361) * **rtl DnD:** Dragging an event in the RTL month view calendar gets confused to the wrong side ([jquense#2426](https://github.com/Xetoxyc/react-big-calendar/issues/2426)) ([ebe8c2c](ebe8c2c)), closes [jquense#2310](https://github.com/Xetoxyc/react-big-calendar/issues/2310) [jquense#1801](https://github.com/Xetoxyc/react-big-calendar/issues/1801) * rtl incorrectly named or not propagated ([jquense#1353](https://github.com/Xetoxyc/react-big-calendar/issues/1353)) ([caa863f](caa863f)) * rtl prop has to be passed to the DateContentRow ([jquense#915](https://github.com/Xetoxyc/react-big-calendar/issues/915)) ([e0ae4f1](e0ae4f1)) * **sass:** Reference distributed folder in SASS compile ([jquense#2091](https://github.com/Xetoxyc/react-big-calendar/issues/2091)) ([20502f3](20502f3)), closes [jquense#2086](https://github.com/Xetoxyc/react-big-calendar/issues/2086) * scrollToTime does not work properly, when min specified ([jquense#2051](https://github.com/Xetoxyc/react-big-calendar/issues/2051)) ([04c1888](04c1888)) * selecting events in chrome ([jquense#884](https://github.com/Xetoxyc/react-big-calendar/issues/884)) ([558ee2d](558ee2d)) * selecting events in mobile browsers ([jquense#1233](https://github.com/Xetoxyc/react-big-calendar/issues/1233)) ([2bc9fee](2bc9fee)) * **Selection:** handling of terminating event ([937b4c5](937b4c5)) * set width ([jquense#2332](https://github.com/Xetoxyc/react-big-calendar/issues/2332)) ([86b26cd](86b26cd)) * short-circuit handleInteractionEnd when no action is in progress ([jquense#1118](https://github.com/Xetoxyc/react-big-calendar/issues/1118)) ([7a48b6a](7a48b6a)) * single/Double clicks on an event work again ([jquense#952](https://github.com/Xetoxyc/react-big-calendar/issues/952)) ([ee8cdbe](ee8cdbe)) * **stories:** fix not working links in docs ([jquense#2559](https://github.com/Xetoxyc/react-big-calendar/issues/2559)) ([295957c](295957c)) * support point-in-time events in the Agenda view ([jquense#1246](https://github.com/Xetoxyc/react-big-calendar/issues/1246)) ([58c39c3](58c39c3)) * switch DnD to modern context API (was legacy) ([6def209](6def209)), closes [jquense#1795](https://github.com/Xetoxyc/react-big-calendar/issues/1795) [jquense#1776](https://github.com/Xetoxyc/react-big-calendar/issues/1776) * temp fix for DayColumn render ([jquense#2224](https://github.com/Xetoxyc/react-big-calendar/issues/2224)) ([48b23a2](48b23a2)), closes [jquense#2222](https://github.com/Xetoxyc/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/Xetoxyc/react-big-calendar/issues/1303)) ([b436017](b436017)), closes [jquense#1098](https://github.com/Xetoxyc/react-big-calendar/issues/1098) [jquense#1273](https://github.com/Xetoxyc/react-big-calendar/issues/1273) * to build ([jquense#2517](https://github.com/Xetoxyc/react-big-calendar/issues/2517)) ([621fc7e](621fc7e)) * totalMin calculation in TimeSlots. ([jquense#965](https://github.com/Xetoxyc/react-big-calendar/issues/965)) ([b761e86](b761e86)) * Trade href="#" anchors for stylized buttons ([jquense#2074](https://github.com/Xetoxyc/react-big-calendar/issues/2074)) ([cd385f5](cd385f5)) * typo ([jquense#2443](https://github.com/Xetoxyc/react-big-calendar/issues/2443)) ([407e168](407e168)) * typo for prop titles ([jquense#2298](https://github.com/Xetoxyc/react-big-calendar/issues/2298)) ([11fd6c8](11fd6c8)) * update react & react-dom peer-dep range to support 17.x ([jquense#1880](https://github.com/Xetoxyc/react-big-calendar/issues/1880)) ([dbcc578](dbcc578)) * update time indicator position if max prop changes ([jquense#1379](https://github.com/Xetoxyc/react-big-calendar/issues/1379)) ([ac945b7](ac945b7)) * update time indicator position if min prop changes ([jquense#1311](https://github.com/Xetoxyc/react-big-calendar/issues/1311)) ([97ea841](97ea841)) * update TimeGrid on resources list change ([jquense#1135](https://github.com/Xetoxyc/react-big-calendar/issues/1135)) ([91c6ec0](91c6ec0)) * update to current react-overlays ([jquense#2217](https://github.com/Xetoxyc/react-big-calendar/issues/2217)) ([27ebe46](27ebe46)), closes [jquense#2186](https://github.com/Xetoxyc/react-big-calendar/issues/2186) * use accessors when determining dnd height. ([jquense#954](https://github.com/Xetoxyc/react-big-calendar/issues/954)) ([be81065](be81065)) * use fixed date arithmetic lib and move bt-sass to devdepen… ([jquense#1374](https://github.com/Xetoxyc/react-big-calendar/issues/1374)) ([b223a61](b223a61)) * use React.createRef instead of string refs ([jquense#1282](https://github.com/Xetoxyc/react-big-calendar/issues/1282)) ([239f0a3](239f0a3)) * using wrong bounding box for hit testing ([f670719](f670719)) * warning defaultProps in Agenda ([jquense#2620](https://github.com/Xetoxyc/react-big-calendar/issues/2620)) ([d1c31c2](d1c31c2)) * zero duration no-overlap events ([jquense#2213](https://github.com/Xetoxyc/react-big-calendar/issues/2213)) ([bbe1109](bbe1109)) ### Features * [jquense#1390](https://github.com/Xetoxyc/react-big-calendar/issues/1390) use en dashes in ranges ([jquense#1391](https://github.com/Xetoxyc/react-big-calendar/issues/1391)) ([7619e59](7619e59)) * Add `onSelectEvent` & `onDoubleClickEvent` support to Agenda ([c14f427](c14f427)) * add `showAllEvents` Calendar Prop ([jquense#1808](https://github.com/Xetoxyc/react-big-calendar/issues/1808)) ([8ffe39d](8ffe39d)) * add ability to set custom resource headers ([jquense#1187](https://github.com/Xetoxyc/react-big-calendar/issues/1187)) ([6708a45](6708a45)), closes [jquense#1174](https://github.com/Xetoxyc/react-big-calendar/issues/1174) * add agenda no events msg ([jquense#923](https://github.com/Xetoxyc/react-big-calendar/issues/923)) ([51304f5](51304f5)) * add ARIA roles to month view ([jquense#1863](https://github.com/Xetoxyc/react-big-calendar/issues/1863)) ([02bbeb1](02bbeb1)) * add background events feature ([jquense#1851](https://github.com/Xetoxyc/react-big-calendar/issues/1851)) ([e797ab3](e797ab3)), closes [jquense#1727](https://github.com/Xetoxyc/react-big-calendar/issues/1727) * add citation file ([jquense#2523](https://github.com/Xetoxyc/react-big-calendar/issues/2523)) ([3de0059](3de0059)) * add commitlint ([b35e156](b35e156)) * add custom timeSlotWrapper support ([jquense#930](https://github.com/Xetoxyc/react-big-calendar/issues/930)) ([172c316](172c316)) * add Date-fns localizer ([jquense#1542](https://github.com/Xetoxyc/react-big-calendar/issues/1542)) ([749c91c](749c91c)) * add dragging ability from the monthly Popup component ([jquense#1554](https://github.com/Xetoxyc/react-big-calendar/issues/1554)) ([12233ef](12233ef)) * add horizontal scrolling for wide resource calendars ([jquense#921](https://github.com/Xetoxyc/react-big-calendar/issues/921)) ([d1e90b1](d1e90b1)) * add onKeyPressEvent ([jquense#1754](https://github.com/Xetoxyc/react-big-calendar/issues/1754)) ([ca8d77b](ca8d77b)) * add Rearrangement Algorithm Implementation ([jquense#1473](https://github.com/Xetoxyc/react-big-calendar/issues/1473)) ([e622651](e622651)) * add resource to handleDropFromOutside ([jquense#1319](https://github.com/Xetoxyc/react-big-calendar/issues/1319)) ([2b7ad2a](2b7ad2a)) * add resourceId to handleSelectAllDaySlot fns slotInfo ([jquense#1735](https://github.com/Xetoxyc/react-big-calendar/issues/1735)) ([f00a516](f00a516)) * add resourceId to onSelecting callback ([jquense#1416](https://github.com/Xetoxyc/react-big-calendar/issues/1416)) ([0c9b1f2](0c9b1f2)) * add selecting and drag cancelation ([jquense#1119](https://github.com/Xetoxyc/react-big-calendar/issues/1119)) ([aa8f08b](aa8f08b)) * add Time Zone support using localizer date math ([jquense#2023](https://github.com/Xetoxyc/react-big-calendar/issues/2023)) ([ad8defa](ad8defa)) * add timeGutterHeaderComponent ([jquense#874](https://github.com/Xetoxyc/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/Xetoxyc/react-big-calendar/issues/1201)) ([74a2233](74a2233)) * adding bounds and box on slot select in Month view ([jquense#1241](https://github.com/Xetoxyc/react-big-calendar/issues/1241)) ([2a870b0](2a870b0)) * adding tabbable events ([jquense#987](https://github.com/Xetoxyc/react-big-calendar/issues/987)) ([6a94e72](6a94e72)) * Adding TS, hooks, and Vite ([1559333](1559333)) * **allDayMaxRows:** Allow for more granular control ([36871bf](36871bf)), closes [jquense#2386](https://github.com/Xetoxyc/react-big-calendar/issues/2386) * allow using custom event wrapper component while dragging ([jquense#2228](https://github.com/Xetoxyc/react-big-calendar/issues/2228)) ([afa8824](afa8824)), closes [jquense#1864](https://github.com/Xetoxyc/react-big-calendar/issues/1864) * Dayjs localizer ([jquense#2264](https://github.com/Xetoxyc/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/Xetoxyc/react-big-calendar/issues/843)) ([d372f0d](d372f0d)) * **dnd:** add onDropFromOutside prop for Dnd Cal ([jquense#1290](https://github.com/Xetoxyc/react-big-calendar/issues/1290)) ([b9fdce4](b9fdce4)), closes [jquense#1090](https://github.com/Xetoxyc/react-big-calendar/issues/1090) * **dnd:** add preview of an item inside cell while dragging ([jquense#1369](https://github.com/Xetoxyc/react-big-calendar/issues/1369)) ([ac715f8](ac715f8)) * **dnd:** implement callback on initializing drag or resize action ([jquense#1206](https://github.com/Xetoxyc/react-big-calendar/issues/1206)) ([0fa2c30](0fa2c30)), closes [jquense#1205](https://github.com/Xetoxyc/react-big-calendar/issues/1205) * **DnD:** support to/from allDay events in demos ([b067ad0](b067ad0)) * drop warning ([jquense#1455](https://github.com/Xetoxyc/react-big-calendar/issues/1455)) ([77004e2](77004e2)) * **event sort:** update event sort for multi day ([jquense#2502](https://github.com/Xetoxyc/react-big-calendar/issues/2502)) ([ff209d0](ff209d0)) * **events:** default events prop to an empty array ([jquense#2161](https://github.com/Xetoxyc/react-big-calendar/issues/2161)) ([efac0b2](efac0b2)), closes [jquense#1708](https://github.com/Xetoxyc/react-big-calendar/issues/1708) * handleRangeChange, handleViewChange refactored to pass fresh `view` to onRangeChange when view changed; ([jquense#1100](https://github.com/Xetoxyc/react-big-calendar/issues/1100)) ([befac9f](befac9f)) * hide single day header with css ([jquense#1019](https://github.com/Xetoxyc/react-big-calendar/issues/1019)) ([5857d8f](5857d8f)) * improve toolbar responsiveness for mobile devices ([jquense#900](https://github.com/Xetoxyc/react-big-calendar/issues/900)) ([cd10e6f](cd10e6f)) * **localizers:** move localizer dependencies ([e4a3235](e4a3235)) * pass resource prop to DayColumnWrapper ([77760aa](77760aa)), closes [jquense#2607](https://github.com/Xetoxyc/react-big-calendar/issues/2607) * pass resourceId to slotPropGetter ([jquense#1101](https://github.com/Xetoxyc/react-big-calendar/issues/1101)) ([0e1e1a0](0e1e1a0)) * provide named exports api ([jquense#1348](https://github.com/Xetoxyc/react-big-calendar/issues/1348)) ([4e09704](4e09704)) * redeclared all sass variables as !default ([jquense#1321](https://github.com/Xetoxyc/react-big-calendar/issues/1321)) ([c4f09cd](c4f09cd)) * remove propTypes in production ([jquense#1180](https://github.com/Xetoxyc/react-big-calendar/issues/1180)) ([ce0d56b](ce0d56b)) * remove unneeded dependencies ([jquense#2215](https://github.com/Xetoxyc/react-big-calendar/issues/2215)) ([fb05151](fb05151)) * replace unsafe deprecated methods ([jquense#2216](https://github.com/Xetoxyc/react-big-calendar/issues/2216)) ([c5c6a8b](c5c6a8b)), closes [jquense#1200](https://github.com/Xetoxyc/react-big-calendar/issues/1200) [jquense#1777](https://github.com/Xetoxyc/react-big-calendar/issues/1777) [jquense#1481](https://github.com/Xetoxyc/react-big-calendar/issues/1481) [jquense#2126](https://github.com/Xetoxyc/react-big-calendar/issues/2126) [jquense#2104](https://github.com/Xetoxyc/react-big-calendar/issues/2104) [jquense#2105](https://github.com/Xetoxyc/react-big-calendar/issues/2105) [jquense#1526](https://github.com/Xetoxyc/react-big-calendar/issues/1526) * revamp Drag and drop ([d2e02c4](d2e02c4)) * showMore message add event info ([jquense#2496](https://github.com/Xetoxyc/react-big-calendar/issues/2496)) ([18012b7](18012b7)) * Slot group prop getter ([jquense#1471](https://github.com/Xetoxyc/react-big-calendar/issues/1471)) ([jquense#1510](https://github.com/Xetoxyc/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/Xetoxyc/react-big-calendar/issues/1687)) ([b8368f9](b8368f9)) * Support multiple resources on an event ([91155c5](91155c5)), closes [jquense#2405](https://github.com/Xetoxyc/react-big-calendar/issues/2405) [jquense#1649](https://github.com/Xetoxyc/react-big-calendar/issues/1649) * switch to Sass for styles ([884bece](884bece)) * **time-gutter-wrapper:** expose time gutter wrapper component ([jquense#2236](https://github.com/Xetoxyc/react-big-calendar/issues/2236)) ([39ff8a1](39ff8a1)) * **translations:** translate CONTRIBUTING.md to Arabic ([jquense#2558](https://github.com/Xetoxyc/react-big-calendar/issues/2558)) ([ae64158](ae64158)) * update react-overlays dependency ([jquense#1816](https://github.com/Xetoxyc/react-big-calendar/issues/1816)) ([5490207](5490207)), closes [jquense#1813](https://github.com/Xetoxyc/react-big-calendar/issues/1813) * upgrade react-overlays ([jquense#1421](https://github.com/Xetoxyc/react-big-calendar/issues/1421)) ([9117549](9117549)) * use custom event wrapper when dragging ([jquense#2221](https://github.com/Xetoxyc/react-big-calendar/issues/2221)) ([73ed69a](73ed69a)), closes [jquense#1864](https://github.com/Xetoxyc/react-big-calendar/issues/1864) * use lodash-es for esm bundle ([jquense#1350](https://github.com/Xetoxyc/react-big-calendar/issues/1350)) ([fb0fe5e](fb0fe5e)) ### Performance Improvements * increase startup time of event dragging ([jquense#1020](https://github.com/Xetoxyc/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
# [1.2.0](v1.1.0...v1.2.0) (2024-08-20) ### Bug Fixes * bug with dnd drag drop ([jquense#2602](https://github.com/additio/react-big-calendar/issues/2602)) ([799a72a](799a72a)), closes [jquense#2601](https://github.com/additio/react-big-calendar/issues/2601) * correct nested sass ([jquense#2641](https://github.com/additio/react-big-calendar/issues/2641)) ([88bdf77](88bdf77)) * Correct selection issues ([def4934](def4934)) * correct slotMetrics issue in TimeGrid ([e25f187](e25f187)), closes [jquense#2529](https://github.com/additio/react-big-calendar/issues/2529) * correcting doubleClick ([jquense#2571](https://github.com/additio/react-big-calendar/issues/2571)) ([775993c](775993c)), closes [jquense#2565](https://github.com/additio/react-big-calendar/issues/2565) * **docs:** correct link for 'props' in 'Understanding Dates' guide ([jquense#2562](https://github.com/additio/react-big-calendar/issues/2562)) ([59982ae](59982ae)) * fixing Drag and Drop Examples link ([fa4a378](fa4a378)), closes [jquense#2585](https://github.com/additio/react-big-calendar/issues/2585) * Sass warning on latest version ([d5b6b87](d5b6b87)) * **Selection:** handling of terminating event ([937b4c5](937b4c5)) * **stories:** fix not working links in docs ([jquense#2559](https://github.com/additio/react-big-calendar/issues/2559)) ([295957c](295957c)) * warning defaultProps in Agenda ([jquense#2620](https://github.com/additio/react-big-calendar/issues/2620)) ([d1c31c2](d1c31c2)) ### Features * pass resource prop to DayColumnWrapper ([77760aa](77760aa)), closes [jquense#2607](https://github.com/additio/react-big-calendar/issues/2607) * **translations:** translate CONTRIBUTING.md to Arabic ([jquense#2558](https://github.com/additio/react-big-calendar/issues/2558)) ([ae64158](ae64158))
When
_handleTerminatingEvent
is executed,_lastClickData
will no longer be cleared to trigger thedoubleClick
event.This PR was created to fix #2565.