Skip to content

Focus scoped to null element #255

@MarkMurphy

Description

@MarkMurphy

I'm guessing this is probably an issue that's causing people problems...

There's a line of code in ModalPortal that has this:

focusManager.setupScopedFocus(this.node);

No where in ModalPortal.js do I see a place were this.node is actually set to something.

See https://github.com/reactjs/react-modal/blob/master/lib/components/ModalPortal.js#L80

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