emoji-picker-react
emoji-picker-react copied to clipboard
disableSearchBar prop is not present
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
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.
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.
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.
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?
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 😄.
Nice! I'll release it soon then :)
@xenizs you can install 4.4.1 and it should work for you :)