arronhunt / react-native-emoji-selector

⚛️😎 Simple, customizable and theme-able Emoji selector for React Native
https://www.npmjs.com/package/react-native-emoji-selector
MIT License
296 stars 112 forks source link

Android - Cannot see the Emojis, only tabs appears. #57

Open theartificialguy opened 2 years ago

theartificialguy commented 2 years ago

Current version installed in my project: "react-native-emoji-selector": "^0.2.0"

I have tried to apply styles but nothing changed, wrapped around a View nothing changed.

so (2)

Code:

const [input, setInput] = useState(null);
const [emojiPicker, setEmojiPicker] = useState(false);

<KeyboardAvoidingView
  style={emojiPicker ? {height: '60%'} : {flex: 1}}
  behavior={Platform.select({android: undefined, ios: 'padding'})}
  keyboardVerticalOffset={90}
>
  {emojiPicker && (
    <EmojiSelector
      onEmojiSelected={emoji =>
        setInput(currentInput => currentInput + emoji)
      }
      columns={8}
      showSearchBar
      showTabs
      showHistory
      showSectionTitles
    />
  )}
</KeyboardAvoidingView>
weronikazak commented 1 year ago

I've got the same problem. Did you manage to solve it?

zguo123 commented 4 months ago

Same problem here