Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Auto hide not working as expected #42

Closed
ezzabuzaid opened this issue Apr 4, 2020 · 11 comments
Closed

Auto hide not working as expected #42

ezzabuzaid opened this issue Apr 4, 2020 · 11 comments
Labels
bug Something isn't working
Projects

Comments

@ezzabuzaid
Copy link

Hi,

I'm trying to keep the picker shown and to be closed manually
the current autoHide property seems not to work either the showPreview

moreover, it would be nice if there's an option to remove the categories bar at all

Screen Shot 2020-04-05 at 1 16 20 AM

@joeattardi
Copy link
Owner

Can you please elaborate on what the issue is? When you say autoHide isn’t working, what is the problem you’re having?

@joeattardi joeattardi added the more info needed Waiting for additional information from the submitter label Apr 4, 2020
@ezzabuzaid
Copy link
Author

@joeattardi thank you for that quick response!
I'm trying to have the picker persisted even if the user selects an emoji

@joeattardi
Copy link
Owner

Can you post a code snippet? Setting the autoHide option to false should have the behavior you're describing.

@ezzabuzaid
Copy link
Author

I've already posted in the first comment

@joeattardi
Copy link
Owner

So are you saying when you use autoHide: false the picker still hides after selecting an emoji?

@ezzabuzaid
Copy link
Author

screencast-localhost_4200-2020 04

Here's a demonstration.

@joeattardi joeattardi added bug Something isn't working and removed more info needed Waiting for additional information from the submitter labels Apr 10, 2020
@joeattardi joeattardi added this to To do in 3.0 Apr 16, 2020
@joeattardi
Copy link
Owner

I'm sorry, I'm still not able to reproduce this behavior based on the code snippet in your screenshot. Can you share the full source of your usage of the emoji picker?

@joeattardi
Copy link
Owner

Hi, just checking in again. Can you provide a full code example that exhibits the behavior you described, so I can try to debug it? Thank you. If I don’t hear from you soon I will probably close this for inactivity. Thanks.

@joeattardi
Copy link
Owner

Question: Are you passing these options to the EmojiButton constructor, or to the togglePicker or showPicker functions? These options only work when passed to the EmojiButton constructor.

@ezzabuzaid
Copy link
Author

I'm sorry, I just saw the notifications

No, I'm passing them as an argument to showPicker method.
I've changed this and now I'm passing them toEmojiButton constructor and working perfectly!

so what is the usage of the showPicker option parameter?

@joeattardi
Copy link
Owner

The showPicker option parameter can be used to specify a custom position. I should update the docs to be more clear. Sorry for the mix-up!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
No open projects
3.0
  
To do
Development

No branches or pull requests

2 participants