[Bug]: TreeItemLayout actions slot `onVisibilityChange` is not called if initial controlled state is false
YuanboXue-Amber opened this issue · comments
Amber commented
Component
Tree
Package version
local latest master
React version
18
Environment
edge
Reproduction
https://stackblitz.com/edit/c2ty2i-ueoxhd?file=src%2Fexample.tsx,package.json
Current Behavior
Open the reproduction, hover on the tree item, notice the action slot is not visible
Expected Behavior
action slot should be visible on hover
Are you reporting an Accessibility issue?
None
Suggested severity
High - No workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.
Amber commented
cc @bsunderhus