8000 Adding documentation on <Popover />'s mountNode · Issue #157 · react-bootstrap/react-bootstrap · GitHub
[go: up one dir, main page]

Skip to content
Adding documentation on <Popover />'s mountNode #157
Closed
@jefffriesen

Description

@jefffriesen

The container={mountNode} is a bit mysterious in the popover documentation. I see where it's defined in the docs:

 executeCode: function() {
    var mountNode = this.refs.mount.getDOMNode();

But which node it should reference is hard to decipher. I've tried

  componentDidMount: function() {
    var mountNode = this.refs.button.getDOMNode()
}

With no luck (it's still positioned incorrectly). A little bit of documentation of what this node should refer to and how to access it would be really helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0