Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When changing between tabs, wrong tab is displayed #127

Open
liellevibob opened this issue Apr 4, 2023 · 5 comments
Open

When changing between tabs, wrong tab is displayed #127

liellevibob opened this issue Apr 4, 2023 · 5 comments
Assignees
Labels
bug Something isn't working waiting Waiting for the author's reply

Comments

@liellevibob
Copy link

liellevibob commented Apr 4, 2023

Describe the bug
In Android when between between tabs, wrong tab is displayed + sometimes animation of moving is not smooth sometimes

To Reproduce
Steps to reproduce the behavior:

  1. Open emoji picker component
  2. Click on some 'No Enter' icon tab -> 'People' icon tab -> 'Light' icon tab -> 'Ice cream' icon tab
  3. See error: 'Flight' icon tab is displayed

Expected behavior
'Ice cream' icon tab should displayed. this bug can happen in different scenarios.

Attached screen recording with the described bug

  • Device: One Plus
  • OS: Android
23-04-03-17-44-21.2.mp4
@liellevibob liellevibob added the bug Something isn't working label Apr 4, 2023
@mateki0 mateki0 self-assigned this Apr 10, 2023
@mateki0
Copy link
Contributor

mateki0 commented Apr 10, 2023

Hey, @liellevibob thanks for reporting the bug. Can you show me your EmojiKeyboard code? I can't reproduce it on my phone, and I don't know if it's because it's not a OnePlus or maybe I'm trying on wrong type of EmojiKeyboard

@liellevibob
Copy link
Author

liellevibob commented Apr 17, 2023

@mateki0 Sure! here is the code:
<EmojiPicker open = { true } enableRecentlyUsed = { true } enableSearchBar = { true } onEmojiSelected = { () => {} } onClose = { () => {} } allowMultipleSelections = { true } enableSearchAnimation = { false } enableCategoryChangeGesture = { true } selectedEmojis = { selectedEmojis } // type of selectedEmojis : string[] theme = { { emoji: { selected: '#FFDBC1' }} } />

thank you in advanced!

@mateki0
Copy link
Contributor

mateki0 commented May 17, 2023

Sorry for a delay, but I have checked it once again with your code. On both Samsung and Xiaomi it works fine, and I don't have more devices to try it :/ Can you try to debug and fix it yourself?

I've opened a PR with a small improvement, but to be honest I don't think that it will fix your problem.

@jakex7
Copy link
Collaborator

jakex7 commented Jun 18, 2023

Hi @liellevibob, could you please check the latest version? (1.3.0)

@jakex7 jakex7 added the waiting Waiting for the author's reply label Jun 18, 2023
@Okelm
Copy link
Member

Okelm commented Jul 17, 2023

@liellevibob is it still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting Waiting for the author's reply
Projects
None yet
Development

No branches or pull requests

4 participants