incorrect navLink for granularities other than day/week
See original GitHub issueHi,
Using navLinks
, the day header from resourceTimelineWeek
links to resourceTimelineMonth
(instead of expected resourceTimelineDay
), even with explicit setting navLinkDayClick
.
Test case: https://codepen.io/anon/pen/QPzLgo
Issue Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:14 (4 by maintainers)
Top Results From Across the Web
JavaScript Event Calendar - FullCalendar
incorrect navLink for granularities other than day/week. 7. multiple timeGrid/timeline axis, each with different time zone.
Read more >Root Navlink always get active class React Router Dom
For example, to render a link that is only active at the website root and not any other URLs, you can use <NavLink...
Read more >Changelog | ArcGIS Hub
Fixed a bug where the site would crash when viewing a dataset with more than four categories in a locale other than EN...
Read more >@fullcalendar/moment-timezone | Yarn - Package Manager
FIX: Expose globalLocales publicly for importing on-demand (#7057). React: FIX: multi-day events rendered by eventContent are overlapping each other (#7089).
Read more >NavLink - React Router: Declarative Routing for React.js
This should be used if you want to do more than verify that the link's pathname ... "true" - used to indicate if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The problem here is that the
navLink*Click
handlers are called in more specific situations that you might think. For example,navLinkDayClick
only happens when a whole-day cell is clicked. The reason it’s not firing in the codepen is because an hour-granularity is being clicked (which would hypothetically need navLinkHourClick).We would need to improve the API to make this less awkward. I’ll propose
navLinkClick
:Used
slotLabelDidMount
workaround for React implementation, thanks for thatNot going to lie, it kind of boggles my mind that this have been hanging on the wall for 3 years already. Especially since it is basic functionality that is broken exclusively in “premium” part of FullCalendar 🙃