Converse.js chatbox minimizes automatically when we click on it in android phone browser

149 views
Skip to first unread message

Abhijit Pattnaik

unread,
Feb 15, 2016, 6:08:30 AM2/15/16
to Prosody IM Users
Hi ,

I am using converse.js with ejabberd, I have configured the converse.js with minified version but it when i open in android mobile browser it logs in but when i click friendlist to open a chat box to chat it minimize. It does'nt show any console error . Is there any solution for this. Please find the converse config below:-

 converse.initialize({
                        websocket_url: webSocketUrl, // ConnectionUrl
                        keepalive: true,
                        message_carbons: true,
                        message_archiving: 'roster',
                        //play_sounds: true,
                        auto_login: true,
                        jid: user,
                        password: password,                        
                        show_controlbox_by_default: false,
                        auto_list_rooms:true,
                        allow_logout: false,
                        allow_registration: false,
                    });

Please suggest me with some solution , i am struggling with these for days now.

Harish P

unread,
Apr 23, 2017, 6:24:01 AM4/23/17
to Prosody IM Users
Hi Abhijit,

Did you solve this issue? I too have this issue, after trying a lot to debug I figured out that when the chat window input is focused, the keypad opens up on mobile browsers, which triggers window resize and due to small width on mobile browsers, conversejs decides to minimize all the open chat windows including the active one.


Thanks
Harish P

JC Brand

unread,
Apr 25, 2017, 2:52:31 PM4/25/17
to Harish P, Prosody IM Users
You should use the mobile build. It's called converse-mobile.js.

JC
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Reply all
Reply to author
Forward
0 new messages