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

How to hide Attachment Icon? #134

Open
NaumanMoazzam opened this issue Sep 13, 2019 · 10 comments · May be fixed by #132
Open

How to hide Attachment Icon? #134

NaumanMoazzam opened this issue Sep 13, 2019 · 10 comments · May be fixed by #132

Comments

@NaumanMoazzam
Copy link

I love using reactchat-window, but i am enable to hide File (Attachment) icon. Like I have disabled the emojis.

@NaumanMoazzam
Copy link
Author

@heatherbooker please help!

@heatherbooker
Copy link
Contributor

Hi @NaumanMoazzam , sorry for the delay. If you are talking about using something similar to the showEmoji prop to disable showing the file attachment icon, unfortunately we don't have that feature yet. If you'd like to see it happen, either

  1. I can convert this issue to a feature request which will be considered for future developement, or
  2. You can feel free to open a pull request following the contributors guidelines, where you look through the code and add a similar prop for the file attachments.
    Thanks for your interest and I'm sorry for the inconvenience of this not existing yet!

@NaumanMoazzam
Copy link
Author

@heatherbooker Thanks for your reply.

#132 is already created by someone. It just need review. If you could do that. It will be GREAT.

Thanks for your time. Really love using it.

@anmol1707 anmol1707 linked a pull request Oct 4, 2019 that will close this issue
6 tasks
@heatherbooker
Copy link
Contributor

Great thanks for the heads up! I've reviewed it, if the required change is made I will be happy to merge.

@rburton
Copy link

rburton commented Oct 13, 2019

FYI - I've clone this project and have been adding features to it. The widget is going to be called "react-chat-windower" so it doesn't clash with the NPM project.

https://github.com/rburton/react-chat-window/tree/feature/enhancements-1.2.0

I already have the hide/show file attachment button. I'll be adding features early this week.

@heatherbooker
Copy link
Contributor

Hi @rburton! Are you interested in taking over ownership of the original project instead? Me and @dharness are not able to keep up (as you can tell! :)) and we would love to hand it over to someone capable and eager. Let me know! You could open a new issue so we can talk about the details further if you like. Cheers!

@NaumanMoazzam
Copy link
Author

@rburton Same. I have been adding some add-ons to this project. But that is for my private use. We can help the community tho.

@heatherbooker I think if rburton agrees. We can continue.

@kumarmpk
Copy link

kumarmpk commented Jul 23, 2020

@heatherbooker
@rburton
Hi is there a way to hide attachment icon?
does showFilePicker works?

@ahmedkhalidbutt
Copy link

@heatherbooker if the required change is made for this issue. Can you kindly merge it so we can use the npm package with the latest updates?

@destyand
Copy link

i used a styling like this, maybe can help

.sc-user-input--button { visibility: hidden; }

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

Successfully merging a pull request may close this issue.

6 participants