Skip to content

contentNode gets tabIndex="0" when no collection is provided during instantiation #1181

Open
@bryanforbes

Description

@bryanforbes

I'm creating a grid with no collection and tabableHeader: false. When I tab into it, focus goes initially to contentNode because it has tabIndex="0". This is caused by https://github.com/SitePen/dgrid/blob/a3577b6a56ee7ab234f7d22113c196884c8f9ec4/Keyboard.js#L104-L129 not resetting the tab index of focusedNode.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions