Questions tagged [jank]
12 questions
28
votes
1 answer
Flutter iOS animations are janky on first run
Since Flutter 1.12 (when Flutter switched to Metal rendering from OpenGL), first runs of an application appear to jank (skip frames more often).
The Flutter team is working on this, but in the mean time what can I do?

Dan Field
- 20,885
- 5
- 55
- 71
6
votes
1 answer
Flutter Performance Issue/Jank with video_player in PageView
I've been struggling with severe janks with the "official" flutter video_player package in combination with the PageView widget.
My Goal
Scroll smoothly and quickly through several pages of a PageView widget, that contain a Video widget each.
Actual…

Flying Wizzy
- 71
- 6
3
votes
1 answer
Understanding Chrome Dev Tools timeline
I'm trying to understand why I have several Long Frames reported by Chrome Dev Tools.
The first row (top of the call stack) in the flame chart are mostly Timer Fired events, triggered by jQuery.Deferred()s executing a bunch of $(function(){ });…

Andrew Bullock
- 36,616
- 34
- 155
- 231
2
votes
0 answers
How to make addView() cheaper
I have an activity that measures how long does animate/layout/measure/etc of layout takes.
class RenderingMeasureActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
…

Majkeee
- 960
- 1
- 8
- 28
1
vote
1 answer
What are flutter_jank_metrics_.json files in Flutter project?
What are flutter_jank_metrics_.json in Flutter project root folders?
Why & How they generated?
It might related to Flutter UI janky, but I don't see it on Flutter's official document.

XMRHRX
- 33
- 8
1
vote
1 answer
Cupertino DateTime picker interfering with scroll behaviour
I have an app that includes a series of questionnaires. One of which is 5 pages long, and each page is essentially a SingleChildScrollView with a column containing 5-10 items of the same custom widget, apart from the first page which also includes 2…

its_broke_again
- 319
- 4
- 12
1
vote
0 answers
Flutter: Soft keyboard animation is causing tremendous jank on iOS after updating from Flutter 2.2.3 to Flutter 3.0.0
Since I updated my application code from Flutter 2.2.3 to Flutter 3.0.0, I am facing tremendous jank on my application whenever the soft keyboard is opened and close.
While this jank is more visible on iOS, it is not nonexistent on Android.
Link to…

aurangzaibsiddiqui
- 21
- 4
0
votes
1 answer
Flutter - performance drop (jank) with too many Stack children
I've to render a tree with an unknown amount of leaves. But when the amount of leaves is too high, the performance of the app drops dramatically. What can I do to improve the performance? The number of leaves can go to 1000 so it's normal that a…

César Materné
- 1
- 1
0
votes
1 answer
Scroll jank when animating using ScrollTop in JQuery
I am trying to animate a ScrollTop and running into a few issues with Jank.
This is my script at the moment. On scroll the browser, the div that i'm scrolling 'fancy-scroll' is quite janky.
Unfortunately i can't link to the dev site as it's for a…
user4800977
0
votes
1 answer
Is there a fluid CSS height property for elements entering the DOM? Jank happens when using Semantic-UI-React Transitions
I am not sure if this is the proper place to ask this question; I considered Software Recommendations however I figured I'd give it a shot here first.
I am creating a PWA and with every iteration I'd really like to focus on making it look/feel like…

Antonio Pavicevac-Ortiz
- 7,239
- 17
- 68
- 141
0
votes
1 answer
CSS Transition Animation Jank w/zindex on Mac (Retina)
We have an Angular 4 web app with a sidenav. When clicking on the hamburger icon, the sidenav animates open from right to left by giving it a width via JS and a transition via CSS, and the main content div in the background is faded to a black with…

Edgar Quintero
- 4,223
- 2
- 34
- 37
-2
votes
1 answer
Perf css animation vs transition
I'd like to know what perf differences to expect from css animation (keyframes) vs css transition.
In my testing it seems there are situations where transition performs far better than keyframes. This article also suggests the same but it's from…

Matt Colman
- 69
- 6