Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49308

The content scrolls up when tapping on a readonly ion-input

$
0
0

@szily20 wrote:

Hi there,

I'm using the readonly attribute on some inputs to prevent the native keyboard to pop up.(I'm showing custom js component instead.)

When I tap on an input which is readonly the keyboard show is prevented, but the content starts to scroll up as the input was displayed. Is this a bug?

Is there a way to prevent the content scrolling in this case when the keyboard is not displayed?

I'm using ionic 3:

@ionic/cli-utils : 1.4.0
Cordova CLI      : 7.0.1
Ionic CLI        : 3.4.0

local packages:

@ionic/app-scripts              : 1.3.12
@ionic/cli-plugin-cordova       : 1.4.0
@ionic/cli-plugin-ionic-angular : 1.3.1
Cordova Platforms               : none
Ionic Framework                 : ionic-angular 3.5.0

Any help is really apreciated.
Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49308

Trending Articles