Skip to content

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

Open
@theartificialguy

Description

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions