Comments (3)
@ronaldso55 Yes, inside your ionic.bundle.js, look for the SlideDrag.prototype.end
function, and modify the ionic.requestAnimationFrame
callback method with the following:
ionic.requestAnimationFrame(function() {
if (restingPoint === 0) {
// Fix iOS 12.2 scrolling issue
if(!(self && self._currentDrag && self._currentDrag.content)){
return;
}
self._currentDrag.content.style[ionic.CSS.TRANSFORM] = '';
var buttons = self._currentDrag.buttons;
.
.
.
Lastly use the following css:
/* Force all the ionic elements to be scrollable, in order to fix iOS 12.2 scroll bug*/
ion-view { pointer-events: auto;}
ion-scroll { pointer-events: auto;}
ion-modal-view { pointer-events: auto;}
ion-popover-view { pointer-events: auto;}
/* Disable the scroll of the main view elements if the modal or the popver are being shown*/
body.modal-open ion-nav-view, body.modal-open ion-nav-view ion-content, body.modal-open ion-nav-view ion-view{
overflow: hidden!important;
}
body.popover-open ion-nav-view, body.popover-open ion-nav-view ion-content, body.popover-open ion-nav-view ion-view{
overflow: hidden!important;
}
body.popup-open ion-nav-view, body.popup-open ion-nav-view ion-content, body.popup-open ion-nav-view ion-view{
overflow: hidden!important;
}
body.modal-open ion-nav-view ion-view ion-scroll, body.popover-open ion-nav-view ion-view ion-scroll, body.popup-open ion-nav-view ion-view ion-scroll{
pointer-events: none!important;
overflow: hidden!important;
}
from ionic-v1.
Facing the same issue here. Did you manage to find a workaround @asa47 ?
from ionic-v1.
Thanks @asa47! It worked like a charm. Much appreciated.
from ionic-v1.
Related Issues (20)
- IPHONEX Splash Screen Issue -- Ionic v1 HOT 2
- iPad Pro 12,9' orientation and smart keyboard issues
- WKWebView input[type="date"] localization
- _From @basdp on June 29, 2016 14:20_
- White screen after splash screen (iOS) HOT 2
- scrolling freezes and scroll not working in iphone devices ionic3? HOT 1
- Got “Not Found” status from google-map directional service in ionic3?
- Input textarea with ion-footer-bar in ionic is behaving erratically
- for ios x
- v1 auto installs older version of cordova-plugin-splashscreen HOT 1
- Gulp v4: Task function must be specified HOT 2
- Collection-repeat not working on android if inside ion-scroll
- Xcode 11 simulator changed device screen layouts & no longer honors safe-area code HOT 21
- Request header field Authorization is not allowed by Access-Control-Allow-Headers ionic V1 ios 11 HOT 2
- Bug: ion-nav-bar id HOT 1
- What is best method to upgrade v1 framework?
- Action Sheet fails to appear on iPad running iOS 14.3 HOT 2
- CSS not loading on ionic-v1 projects using Macs with M1 chip (Apple Silicon)
- Apple Silicon M1, sample tabs app crashes when run on iPhone X simulator (or other i86 platforms) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ionic-v1.