Skip to content

Error thrown "_bound" of undefined #9

Description

@yanndebelgique

Error stack:
Error: Cannot read property '_bound' of undefined
TypeError: Cannot read property '_bound' of undefined
at TributeMenuEvents.bind (modules.js?hash=e7768aadbab2be94d4f3af4f3c64ad255c23843d:173359)
at Tribute.showMenuFor (modules.js?hash=e7768aadbab2be94d4f3af4f3c64ad255c23843d:172721)
at HTMLTextAreaElement.keyup (modules.js?hash=e7768aadbab2be94d4f3af4f3c64ad255c23843d:173108)
at HTMLTextAreaElement.input (modules.js?hash=e7768aadbab2be94d4f3af4f3c64ad255c23843d:173049)

Offending piece of code:
in TributeMenuEvents.js
this.tribute.range.getDocument().addEventListener('MSPointerDown', this.menuKeydownEvent, false);

My piece of code (react + flow):
class AddCommentComponent extends Component<{}, {}> {
constructor(props) {
super(props);

}

render() {
return


<Tribute
options={{
values: [{ key: 'Test McTesterson', value: 'test' }]
}}
>
<textarea></textarea>

</div>;

}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions