Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughA single CSS change in Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
commit: |
|
Size Change: +3 B (0%) Total Size: 1.46 MB 📦 View Changed
ℹ️ View Unchanged
|
Coverage Report
File CoverageNo changed files found. |
|
🧪 Playground Preview: https://element-plus.run/?pr=23961 |
keeplearning66
left a comment
There was a problem hiding this comment.
If you use div tags directly instead of table, this issue doesn't occur, which is a bit strange. demo However, the current solution does indeed resolve the problem. 👍
btea
left a comment
There was a problem hiding this comment.
It seems more like a problem with the browser's rendering of composite layers under specific circumstances. The current fix appears to be quite reasonable and effective. 👍
|
@rzzf Thanks for your contribution! ❤️ |

This appears to be an issue related to how Chrome handles both hover behavior and transitions after layout shifts. In Safari, after clicking a button, the hover effect remains on the button even if the cursor is already over a new row; in Chrome, the behavior is the opposite. Interestingly, the transition effect itself lingers.
Inspecting the computed
background-colorin DevTools shows the expected value#fff, but what is actually rendered is a lingering transition between the hover color and#fff.If
transition-durationis set to0or thetransitionis removed, the issue disappears. I'm not entirely sure why this happens, but a practical workaround is to introduce a very smalltransition-delay, which also resolves the issue.You can try adjusting the
transition-durationlocally to observe this behavior. I'm not sure why the issue disappears after modifying the row’sbackground-colorin the playground.Source Code
fix #23955
demo
Summary by CodeRabbit