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] CollectionView flickers when Label in DataTemplate has TextType="Html" #22681

Open
borrmann opened this issue May 28, 2024 · 2 comments
Open
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/iOS 🍎 t/bug Something isn't working
Milestone

Comments

@borrmann
Copy link
Contributor

Description

A CollectionView with a DataTemplate with a Label that uses TextType="Html" flickers when the ItemsSource is reloaded.

Steps to Reproduce

  1. Create a Singleton Page with a CollectionView
  2. Inside the CollectionView, load a List with a DataTemplate with a Label with TextType="Html"
  3. On Page navigation, reload the ItemsSource
  4. Move away and back to the page
  5. The CollectionView flickers

Link to public reproduction project repository

No response

Version with bug

8.0.40 SR5

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.7 SR2

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

nothing besides not using TextType="Html"

Relevant log output

No response

@borrmann borrmann added the t/bug Something isn't working label May 28, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@borrmann
Copy link
Contributor Author

borrmann commented May 28, 2024

In this example the Text of the label does not show HTML characters , because TextType is set to HTML. Unfortunately, it also seems to ignore the "<b>" and draws regular text instead bold text, but that would be another issue. The collectionview flickers

CollectionView_With.Flickering.mp4

In this example the Text of the label does show HTML characters, because TextType is set to Text (see the "<b>" in some messages) and the collectionview does not flicker as expected!

CollectionView_Without.Flickering.mp4

@jsuarezruiz jsuarezruiz added platform/iOS 🍎 area-controls-collectionview CollectionView, CarouselView, IndicatorView labels May 28, 2024
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants