Sign in to follow this  
3ddy

no keyboard on iOS (CocoonJS)

Recommended Posts

Hello, 
I'm trying to call the keyboard on click (InputDown) event. Everything works fine in Android, but on iOS the keyboard doesn't show. I'm running the app through Cocoon Developer App using .zip file

openKeyboard: function() {
		Cocoon.Dialog.showKeyboard({
                type: Cocoon.Dialog.keyboardType.TEXT,
                }, {
                insertText: function(inserted) {
                    console.log(inserted);
                },
                deleteBackward: function() {
					console.log("deleteBackward");
                },
                done: function() {
                    console.log("user clicked done key");
                },
                cancel: function() {
                    console.log("user dismissed keyboard");
                }
            });
	}


showKeyboard function is called because I've checked that using console logs, but actual keyboard is not appearing... Anyone encountered simillar problems? Or maybe you can recommend some other option to display keyboard in native app?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.