vuetifyjs / vuetifyjs/vuetify

[Bug Report][3.11.1] Tables with `hover` are very slow with many items

Open
#22,362 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C: VDataTable performance T: enhancement
Dominant language
TypeScript
Stars
41k
Forks
7.1k
Avg merge
1d 21h
Merged PRs (30d)
11

Description

Environment

Vuetify Version: 3.11.1
Vue Version: 3.5.24
OS: macOS 10.15.7 (current)

Expected Behavior

In Vuetify 2, table hover used to be a simple hover css on the tr and was instant.

Actual Behavior

When using the hover prop with many items, performance slows down a lot because of all the "::after" elements rendering when we hover.

Reproduction Link

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

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 reproduction and inspect the table hover implementation responsible for rendering the ::after elements. Compare hover performance with many items against the reported Vuetify 2 behavior; done means the hover prop no longer causes substantial slowdown in large tables.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.