Frank7390035
Posts: 0
Joined: Thu Feb 19, 2015 1:37 am

selectable text in ionic app

Hi,

I understand that ionic apps by default show unselectable content.

I am reading this thread with suggestions to get selectable content.
https://github.com/ionic-team/ionic/i...

One up-voted suggestion calls for this change on app.module.ts

Do you have any idea where can I find this file? Or other ways to fix this? Your suggestion is very appreciated

In app.module.ts, in imports set properties scrollAssist and autoFocusAssist to false:

@NgModule({
declarations: [
....
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp, {
platforms: {
ios: {
scrollAssist: false,
autoFocusAssist: false
},
android: {
scrollAssist: false,
autoFocusAssist: false
}
}
}),
HttpModule
]
})
....,

Return to “Issues”