Skip to content

Row renderProps never called for focus #5299

Open
@snowystinger

Description

Provide a general summary of the issue here

See commented out test here https://github.com/adobe/react-spectrum/pull/5265/files#diff-a13c00134586126ed1d1f02bf6549ac11dd15c3e8b300a7dc89d6829992356f4R649

We aren't calling the child function with the updated renderProps when a row is hovered

🤔 Expected Behavior?

Row's child function is called again with the updated renderProps which match the data-* attributes

😯 Current Behavior

Does not update

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

Uncomment code, run test. Alternatively, open storybook from the same PR and add a console.log, it won't be called after initial render if you tab to the table and navigate around.

Version

latest

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

MacOS

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Assignees

No one assigned

    Labels

    RACbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions