vuetifyjs / vuetifyjs/vuetify

[Bug Report][4.1.13] VPagination triggers render-context warnings in Vue 3.5.42

Open
#23,172 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C: VDataTableServer S: needs reproduction S: triage
Dominant language
TypeScript
Stars
41k
Forks
7.1k
Avg merge
1d 21h
Merged PRs (30d)
11

Description

Environment

Vuetify Version: 4.1.13
Vue Version: 3.5.42
OS: Windows 10 (current)

Steps to reproduce
  1. Render a v-data-table-server with its default footer. Update items and items-length asynchronously.
Expected Behavior

Pagination renders without Vue warnings.

Actual Behavior

The console reports:

  • onScopeDispose() is called when there is no active effect scope
  • withDirectives can only be used inside render functions
  • Missing ref owner context. ref cannot be used on hoisted vnodes

The component trace points to:

VPagination > VDataTableFooter > VDataTableServer

Using hide-default-footer and custom pagination controls removes all warnings.

Reproduction Link

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

Other comments

If this does not reproduce there, the warnings likely require Nuxt SSR/hydration, which play.vuetifyjs.com cannot fully represent.

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 by running the linked reproduction with VDataTableServer's default footer and asynchronously updated items and items-length. Trace the warning-producing path through VPagination, VDataTableFooter, and VDataTableServer; done means the pagination renders without the reported Vue warnings in the reproduction scenario.

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
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.