You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you have opened the skin selector modal and you swipe to another category, the skin selector modal doesn't close and it leaves inconsistent since is not above the correct emoji anymore.
To Reproduce
Steps to reproduce the behavior:
Open the EmojiPicker with params including enableSearchBar and categoryPosition="bottom"
Long tap to see the skin of one of the emojis
Swipe to the right to the next category
See that the skin selector modal still appears in the new category
Expected behavior
When I swipe to a different category the skin selector modal should hide since Im no longer seeing the emoji that is associated with it.
Screenshots
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
It was reproducible in lots of devices both iOS and Android both simulator and real device.
"rn-emoji-keyboard": "^1.2.1" -> version we have for this library
"react-native": "0.71.4" -> react native version
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
To fix this I added in the component EmojiStaticKeyboard, in the handleScroll function, I now call the clearEmojiTonesData() function to hide the skin tones modal.
The text was updated successfully, but these errors were encountered:
Hey, as for the other bug report we really appreciate your report. Maybe in the future you will open a PR with a fix? It's always nice to have a contribution to an OpenSource :)
Describe the bug
If you have opened the skin selector modal and you swipe to another category, the skin selector modal doesn't close and it leaves inconsistent since is not above the correct emoji anymore.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When I swipe to a different category the skin selector modal should hide since Im no longer seeing the emoji that is associated with it.
Screenshots
![image](https://private-user-images.githubusercontent.com/8755889/237546035-0e527e33-7a25-4871-8163-47045f465f0c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA2ODMxMDksIm5iZiI6MTcyMDY4MjgwOSwicGF0aCI6Ii84NzU1ODg5LzIzNzU0NjAzNS0wZTUyN2UzMy03YTI1LTQ4NzEtODE2My00NzA0NWY0NjVmMGMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTFUMDcyNjQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmVkZTA5MjVjODc3ZTRhMmE0MTFmNjBjNWIxYTg4NGM5ODc5OGNiNTYwNjcyOTI4MjE5ZThlNTg4NDJhNGRiYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.OjsFsseHAabjrmrjKIvbl2tj_pK-R2ifXQFtfUXEt64)
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
To fix this I added in the component
EmojiStaticKeyboard
, in thehandleScroll
function, I now call theclearEmojiTonesData()
function to hide the skin tones modal.The text was updated successfully, but these errors were encountered: