Skip to content

fix date selection logic and dependency arrays | Beta Version#44

Merged
Jaganath-MSJ merged 5 commits intobetafrom
dev
Feb 11, 2026
Merged

fix date selection logic and dependency arrays | Beta Version#44
Jaganath-MSJ merged 5 commits intobetafrom
dev

Conversation

@Jaganath-MSJ
Copy link
Copy Markdown
Owner

  • Remove unnecessary dispatch from dependency array in useEffect
  • Fix conditional date selection to only update selected date when isSelectDate is true
  • Always call onDateClick callback when any date is clicked
  • Simplify onClick handler assignment by removing conditional check

Jaganath-MSJ and others added 5 commits February 10, 2026 07:52
Enhanced multi-day event rendering and support | Standand Version
# [1.1.0](v1.0.2...v1.1.0) (2026-02-10)

### Bug Fixes

* **calendar:** correct event width calculation and styling for multi-day events ([e38f00a](e38f00a))
* ensure consistent date comparison by using start of day ([5bab11b](5bab11b))
* extract header into separate component ([d32e99f](d32e99f))
* remove the registry-url in the setup node.js step ([05ecf99](05ecf99))
* update repository url for semantic-release ([bbf5d9a](bbf5d9a))
* updating the package-lock file ([55e0c18](55e0c18))

### Features

* add maxEvents prop to limit displayed events per day ([864ba96](864ba96))
* add onEventClick and onMoreClick callbacks ([90b4d82](90b4d82))
* add optional color property to calendar events ([de976db](de976db))
* add spacer handling and improve event limit logic ([9160689](9160689))
* add theme support for calendar date styling ([38a199b](38a199b))
* calculate maxEvents dynamically based on calendar height ([ae3e7ad](ae3e7ad))
* **calendar:** implement week-based event layout with proper spacing ([550fa51](550fa51))
* **calendar:** improve event rendering across week boundaries ([93dac33](93dac33))
* **calendar:** support date range events with visual rendering ([437c197](437c197))
* enable event item click to select specific date ([cfb43cc](cfb43cc))
* **EventPopover:** add popover for hidden events ([117197f](117197f))
* **EventPopover:** correct popover event styling and date color logic ([6fc5662](6fc5662))
* make calendar responsive using resize observer ([a01af33](a01af33))
- Add "calendar-simple" as dependency in package.json
- Update import statement in App.tsx to use the package instead of local source
- Import the package's CSS styles
- Update lockfile with package and its dependencies
- Remove unnecessary `dispatch` from dependency array in useEffect
- Fix conditional date selection to only update selected date when `isSelectDate` is true
- Always call `onDateClick` callback when any date is clicked
- Simplify onClick handler assignment by removing conditional check
@Jaganath-MSJ Jaganath-MSJ merged commit 670e50b into beta Feb 11, 2026
3 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.1.1-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants