Closed kafeltz closed 6 years ago
The error will be thrown when you open the emoji and then select one of them.
My example:
<Picker native={true} showPreview={false} i18n={categories} exclude={['search', 'recent', 'nature', 'foods', 'activity', 'places', 'objects', 'symbols', 'flags', 'custom']} color={'#2f3540'} emojiTooltip={true} emojisToShowFilter={emojisToShowFilter} onClick={this.handleClickEmoji} style={{ position: 'absolute', bottom: '55px', right: '33px', width: this.state.width }} />
It breaks in this file/line: https://github.com/missive/emoji-mart/blob/master/src/components/picker/nimble-picker.js#L240
To workaround this, I must set both properties:
onClick={this.handleClickEmoji} onSelect={this.handleClickEmoji}
It’s been fixed by #183, I shall do a quick release right away.
v2.6.1 has been released, thanks for the reminder!
v2.6.1
Thx, I need it right now.
The error will be thrown when you open the emoji and then select one of them.
My example:
It breaks in this file/line: https://github.com/missive/emoji-mart/blob/master/src/components/picker/nimble-picker.js#L240
To workaround this, I must set both properties: