Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
ionic-keyboard-assist
Advanced tools
![](https://img.shields.io/badge/me-%40gesiel.com-brightgreen) ![](https://img.shields.io/npm/v/ionic-keyboard-assist?label=npm%40latest) ![](https://img.shields.io/bundlephobia/minzip/ionic-keyboard-assist/latest) ![](https://img.shields.io/npm/dm/ionic-
This wizard corrects the bug when the keyboard overlaps/cover the screen and does not allow it to scroll. The user cannot see what is typing in the field. (Android 9 reported issue)
It is necessary "cordova-plugin-ionic-keyboard" plugin installed.
Ionic: @^4
Keyboard Plugin: cordova-plugin-ionic-keyboard@^2.2.0
iOS: 13
Android: 9
To install the library:
npm install ionic-keyboard-assist --save
Add the service to your app.module.ts
as a provider and set scrollPadding
and scrollAssist
to false:
import { IonicKeyboardAssist } from 'ionic-keyboard-assist';
@NgModule({
...
IonicModule.forRoot({
scrollPadding: false,
scrollAssist: false
}),
...
providers: [ IonicKeyboardAssist ],
...
})
export class AppModule { }
Set KeyboardResize plugin preference to false on config.xml
(for iOS):
Read more
<preference name="KeyboardResize" value="false" />
Then, import and inject into the app.component.ts
constructor and start the service:
import { IonicKeyboardAssist } from 'ionic-keyboard-assist';
constructor(private keyboardAssist: IonicKeyboardAssist ) {
this.keyboardAssist.init();
}
Boolean (true by default)
true
: Add a padding-bottom
to the screen the same size as the keyboard.false
: Does not change the screen padding.(Depending on the device, the cordova-plugin-ionic-keyboard
calculates the wrong height)
Boolean (true by default)
true
: Position the active/focused field in the center of the screen.false
: Does not give assistance to scroll....
this.keyboardAssist.init({scrollPadding: true, scrollAssist: true});
...
or
...
this.keyboardAssist.setOptions({scrollPadding: true, scrollAssist: true});
...
FAQs
![](https://img.shields.io/badge/me-%40gesiel.com-brightgreen) ![](https://img.shields.io/npm/v/ionic-keyboard-assist?label=npm%40latest) ![](https://img.shields.io/bundlephobia/minzip/ionic-keyboard-assist/latest) ![](https://img.shields.io/npm/dm/ionic-
We found that ionic-keyboard-assist demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.