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>
}
}
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>
}
}