Git Product home page Git Product logo

Comments (4)

tlancina avatar tlancina commented on June 16, 2024

Are you able to reproduce the issue and provide screenshots? Because this plugin removes the accessory bar differently than the Cordova one , and I'm unable to get the keyboard to become transparent.

from ionic-plugin-keyboard.

gastonbesada avatar gastonbesada commented on June 16, 2024

@tlancina Thanks for your reply.

In fact, I'm unable to reproduce it because hideKeyboardAccessoryBar(true), is not working for me.

iOS 7.1.1
Cordova 3.4
Ionic Package: nightly 1.0.0-beta.4-nightly-2029 (2014-05-08)

.run(function($ionicPlatform) {
  $ionicPlatform.ready(function() {
    console.log("Cordova is ready");
    if(window.StatusBar) {
      StatusBar.styleLightContent();
    }
    if(navigator.splashscreen) {
      setTimeout(function() {
          navigator.splashscreen.hide();
      }, 100);
    }
    window.addEventListener('native.showkeyboard', keyboardShowHandler);
    function keyboardShowHandler(e){
        alert('Keyboard height is: ' + e.keyboardHeight);
        Keyboard.hideKeyboardAccessoryBar(false);
    }
    if(window.Keyboard) {
      Keyboard.hideKeyboardAccessoryBar(true);
      //Keyboard.hideFormAccessoryBar(true);
    }
  });
})

image
image

Thanks and regards

from ionic-plugin-keyboard.

tlancina avatar tlancina commented on June 16, 2024

It's cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true), sorry that should be clearer in the README

from ionic-plugin-keyboard.

gastonbesada avatar gastonbesada commented on June 16, 2024

Oh, thanks for the magic 👍 Working 100%

from ionic-plugin-keyboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.