Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[BUG] FullCalendar interaction - tooltips not rendering on views after the first #1259

Open
@thely

Description

Bug description
This one's a bit odd, because I don't know if it's this package or FullCalendar causing the issue. When using react-tooltip (as a global Tooltip object) with FullCalendar, only the first view's events will render tooltips. If I'm looking at a month view, the first month will render correctly. But for any other month other than the starting month, no tooltips render. (This happens with other FC views as well.) Looking in the inspector, no element appears in the DOM when hovering events in time periods outside the default. I've provided a CodeSandbox.

I saw that there used to be a rebuild() method in previous versions that's been deprecated in V5. Is there still a way to access that behavior, assuming it might fix the problem?

Version of Package
v5.30.0

To Reproduce
See the CodeSandbox minimal version here. Make sure the first two events are today, and the next two events are the following month (such that they don't render on the first month view). Hover the events in the current month, and the tooltips render; use the arrow buttons in the upper right to go to the next month, and the tooltips don't render.

To see the bug on more than one FC view, remove dayGridPlugin from the plugins list, and make sure you have two events happening on two different days for the resourceTimelinePlugin to show the issue correctly.

Expected behavior
Tooltips render on every hovered event. Instead, they only show up for events rendered in the first view.

Desktop (please complete the following information if possible or delete this section):

  • OS: Mac OS 12
  • Browser: Firefox v143
  • Frameworks: React v18, FullCalendar v6.1.18

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /