Navigation

    Monaca & Onsen UI
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. Oti Kadriu
    O
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Oti Kadriu

    @Oti Kadriu

    0
    Reputation
    1
    Posts
    499
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Oti Kadriu Follow

    Posts made by Oti Kadriu

    • How do you handle keyboard view?

      Hi,
      I’ve recently started developing a hybrid app with Onsen. However, I have ran into some difficulties. Basically, by testing it on my iOS device, when I focus into a textarea to write, the keyboard appears but it pushes the entire page up? I’ve tried working around with fixed positioning but it didn’t quite work. So, how do you handle keyboard view?

      p.s If anyone needs this is my code:

                 <div id='new-post-container'>
                      <ons-card id='new-post'>
                              <div class='title'>
                                  <button><i class='fa fa-angle-left'></i> Exit</button>
                                  <button>Post <i class='fa fa-angle-right'></i></button>
                                  <span>New Product</span>
                              </div>
                              <div class='content'>
                                  <input type='text' name='Title' placeholder='Product title'>
                                  <input type='number' name='price' placeholder='Product price'>
                                  <textarea name='product-desc' placeholder="Product description"></textarea>
                                  <button><ons-icon icon="fa-camera" size="20px"></ons-icon></button>
                              </div>
                      </ons-card>
                  </div>
      
      posted in Onsen UI
      O
      Oti Kadriu