diff --git a/package.json b/package.json index 17d489e..295a9a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "emoji-mart-lazyload", - "version": "3.0.1j", + "version": "3.0.1k", "description": "Customizable Slack-like emoji picker for React", "main": "dist/index.js", "module": "dist-es/index.js", diff --git a/src/components/picker/nimble-picker.js b/src/components/picker/nimble-picker.js index 83447f7..0a28c38 100644 --- a/src/components/picker/nimble-picker.js +++ b/src/components/picker/nimble-picker.js @@ -534,6 +534,7 @@ export default class NimblePicker extends React.PureComponent { skinEmoji, notFound, notFoundEmoji, + maxResults, } = this.props var width = perLine * (emojiSize + 12) + 12 + 2 + measureScrollbar() @@ -573,6 +574,7 @@ export default class NimblePicker extends React.PureComponent { exclude={exclude} custom={this.CUSTOM} autoFocus={autoFocus} + maxResults={maxResults} />