vuetifyjs / vuetifyjs/vuetify

[Bug Report][3.10.4] VTimelineItem with v-intersect directive has IntersectionObserver root as null in VTimeline

Open
#22,147 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C: VTimeline D: intersect has workaround P: low T: bug
Dominant language
TypeScript
Stars
41k
Forks
7.1k
Avg merge
1d 21h
Merged PRs (30d)
11

Description

Environment

Vuetify Version: 3.10.4
Vue Version: 3.5.22
OS: Windows 10 (current)

Steps to reproduce
Expected Behavior

v-intersect should provide isIntersecting as true when v-timeline-item is in viewport

Actual Behavior

v-intersect always fires with false value and Intersection observer has root as null

Reproduction Link

https://play.vuetifyjs.com/#...

Images

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Vuetify Playground reproduction and inspect how v-intersect is used with VTimelineItem. Trace why the IntersectionObserver reports a null root and false isIntersecting values in this setup. Done means the reproduction reports true when the timeline item is in the viewport, with a regression test if the relevant test location is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.