Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: ListView header flickers when being updated #13717

Open
1 task done
jonasfunk opened this issue Jan 14, 2023 · 0 comments
Open
1 task done

iOS: ListView header flickers when being updated #13717

jonasfunk opened this issue Jan 14, 2023 · 0 comments
Labels
bug ios needs triage This issue hasn't been reviewed by maintainers

Comments

@jonasfunk
Copy link

I have searched and made sure there are no existing issues for the issue I am filing

  • I have searched the existing issues

Description

Updating the header view of listview will cause it to flicker.

RPReplay_Final1673739136.mov

Expected Behavior

The header view should not flicker

Actual behavior

The header view flickers

Reproducible sample

const win = Ti.UI.createWindow();

const headerView = Ti.UI.createView({ height: 200, backgroundColor: 'red' });

const listView = Ti.UI.createListView({ 
	headerView,
	sections: [ Ti.UI.createListSection({ items: [ {properties: { title: 'Apple'}},{properties: { title: 'Banana'}} ] }) ]
 });

setInterval(() => {
	headerView.height++;
}, 1000);
	

win.add(listView);

win.open();

Steps to reproduce

Install the code on a device (does not happen in simulator) and run it.
The issue should be apparent.
We've seen this on iPhone 13, but not on earlier versions.

Platform

No response

SDK version you are using

12.0.0.GA.

Alloy version you are using

2.0.1

@jonasfunk jonasfunk added bug needs triage This issue hasn't been reviewed by maintainers labels Jan 14, 2023
@m1ga m1ga added the ios label Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ios needs triage This issue hasn't been reviewed by maintainers
Projects
None yet
Development

No branches or pull requests

2 participants