stream-chat-flutter icon indicating copy to clipboard operation
stream-chat-flutter copied to clipboard

Close File Picker Section

Open NiyazFazlyev opened this issue 3 years ago • 1 comments

Please select which package this feature is related to

stream_chat_flutter

Which platforms would this feature impact?

iOS, Android

Is your feature request related to a problem?

Now the file picker section section of MessageInput widget closes when you click on the attachment button or the text field

Describe the solution that you'd like

I want to close the file picker section by clicking anywhere from the outside, for example, by clicking on MessageList

Describe alternatives that you have considered

No response

Additional context

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

NiyazFazlyev avatar Jan 10 '22 20:01 NiyazFazlyev

Hi @NiyazFazlyev,

We are working on a new version at the moment which includes a MessageInputController which allows you to manually modify many aspects of the state of the MessageInput - including opening and closing the attachment picker.

You can follow #855 for more updates and this should be out soon.

deven98 avatar Jan 18 '22 12:01 deven98

https://getstream.io/chat/docs/sdk/flutter/customization/custom-widgets/customize_attachment_picker_modal/#initial-attachments I think this is possible. Please take a look at the docs.

imtoori avatar Nov 16 '22 10:11 imtoori