emoji-picker-react icon indicating copy to clipboard operation
emoji-picker-react copied to clipboard

disableSearchBar prop is not present

Open stventek opened this issue 2 years ago • 7 comments

Whe the issue #151 was closed the version 3.2.0 introduced two new props,

  • disableSkinTonePicker
  • disableSearchBar

but disableSearchBar is not present in the current version

stventek avatar Oct 16 '22 17:10 stventek

Hey @xenizs, you are right. I've just got off a flight where I worked on it and I have a prototype working.

I'll release a testing version later tonight, and probably publish to stable tomorrow.

Removing the search bar will move the skin tone picker to the preview, and you can opt to remove the skin tone picker complete.

ealush avatar Oct 17 '22 02:10 ealush

Hey @xenizs, can you please try installing [email protected] and let me know if that works well for you? Seems to work well on my end, but I want to make sure it looks correctly on other devices as well.

ealush avatar Oct 17 '22 04:10 ealush

Hi, I did what you said, uninstalled the previous version, installed [email protected] set searchDisabled to true but it didn't do anything on my end.

  • React: 17.0.2
  • Tested on: Brave, Chrome, firefox latest.

stventek avatar Oct 17 '22 14:10 stventek

Please see this: https://codesandbox.io/s/emoji-picker-react-4-with-search-disabled-8hskf6?file=/src/App.tsx Is it the same version that you're using?

ealush avatar Oct 17 '22 14:10 ealush

I erased the whole node_modules, re installed everything and now it works 👍. I don't exactly know what the issue was but, what I initially did was npm uninstall emoji-picker-react then npm install [email protected]. Maybe you know what the problem was and explain it to me but, either way it works now 😄.

stventek avatar Oct 17 '22 15:10 stventek

Nice! I'll release it soon then :)

ealush avatar Oct 19 '22 01:10 ealush

@xenizs you can install 4.4.1 and it should work for you :)

ealush avatar Oct 19 '22 02:10 ealush