Skip to content

fix(table): fixed an issue where the hover behavior of vc-table did not work as expected when set to expanded-sticky#55

Open
jiangrong-devops wants to merge 1 commit into
antdv-next:nextfrom
jiangrong-devops:fix/table
Open

fix(table): fixed an issue where the hover behavior of vc-table did not work as expected when set to expanded-sticky#55
jiangrong-devops wants to merge 1 commit into
antdv-next:nextfrom
jiangrong-devops:fix/table

Conversation

@jiangrong-devops
Copy link
Copy Markdown
Contributor

🤔 This is a ...

  • 🆕 New feature
  • 🐞 Bug fix
  • 📝 Site / documentation improvement
  • 📽️ Demo improvement
  • 💄 Component style improvement
  • 🤖 TypeScript definition improvement
  • 📦 Bundle size optimization
  • ⚡️ Performance optimization
  • ⭐️ Feature enhancement
  • 🌐 Internationalization
  • 🛠 Refactoring
  • 🎨 Code style optimization
  • ✅ Test Case
  • 🔀 Branch merge
  • ⏩ Workflow
  • ⌨️ Accessibility improvement
  • ❓ Other (about what?)

🔗 Related Issues

N/A

💡 Background and Solution

Background
Chinese

  • 在官方文档展开与粘性表头中,出现鼠标移入存在同级展开的元素行后 hover 会扩散到其他非当前视觉焦点链条上,导致 hover 得不到预期效果,仅在 expand-sticky 中发现该行为,其余示例 hover 表现符合预期。目前 Ant Design 库的 Headless Table 存在同样的问题,请酌情考虑合并,我会同步 PR 给 Ant DesignHeadless Table PR

English

  • In the official documentation Expandable and Sticky Headers, the hover effect spreads to other elements outside the current visual focus chain when the mouse hovers over a row containing an element with a sibling expand component. This causes the hover effect to behave unexpectedly. This behavior has only been observed in the expand-sticky example; in all other examples, the hover effect behaves as expected. The Headless Table in the current Ant Design library has the same issue. Please consider merging this as appropriate; I will submit a PR to the Ant Design Headless Table PR.
image image

📝 Change Log

Language Changelog
🇺🇸 English fixed an issue where the hover behavior of vc-table did not work as expected when set to expanded-sticky
🇨🇳 Chinese 修复 vc-tableexpanded-stickyhover 表现不符合预期行为问题

…id not work as expected when set to `expanded-sticky`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant