Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70803

Ionic 4 slow performance on user interaction

$
0
0

@Fabiryn wrote:

Hello community,

our development Team stumbled above some performance issues after the switch from Ionic 3 to 4.
Some user interactions, that trigger animations, are now really slow and laggy. After some digging we found out, that the call

someelement.nativeElement.offsetLeft

and all the other offset Properties now costs round about 10x more time to get the value.

With the Chrome performance debugging we saw on the same line of code with ionic 3, a property read of about 0.8-0.9 ms and ported to Ionic 4 with about 9-10 ms. Whats going on, why is this under angular 6 so more time consuming?

Did someone else come across this problem?

Best regards
Fabiryn

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70803

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>