Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Prevent keyboard from appearing when clicking in webview

I have a webview with a text. Whenever I clicked on the text, the keyboard appears.

How do I prevent the keyboard from appearing?

— asked September 30th 2010 by Peter Lum
  • appears
  • keyboard
  • webview
1 Comment
  • hey! I have the same problem. Did you find a solution to your problem?

    — commented April 18th 2011 by Shawn Han.

3 Answers

  • The only case the keyboard should appear is if you have an editable textarea or input.
    You need to set in the html those elements to be readonly or to catch the click event and kill it.

    — answered September 30th 2010 by Dan Tamas
  • Yes, I guess this is the only way to do it. Thanks!

    — answered October 20th 2010 by Peter Lum
  • Hi all,

    I am very new in iPhone application development. I need your help regarding with iPhone application development.

    In the Text Edit the keyboard panel appears from the bottom side of the screen. A huge gap between text edit and keyboard panel.

    I need to reduce the gap. I want to appear the keyboard panel below the text edit and the bottom side of screen contain some buttons. When the keyboard appears the buttons of the bottom panel never hide and the keyboard panel will appear up the button side and below the text edit.

    Thanks in Advance,

    — answered February 4th 2011 by Anupam Roy
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.