Coder Social home page Coder Social logo

Comments (5)

Youssef1313 avatar Youssef1313 commented on September 26, 2024

@dr1rrb Is this about ItemsRepeaterManyItems sample? Are you testing Gtk or WPF?

For Gtk, it's a known problem which I tried to fix, but the fix broke Gallery canary so it was reverted. See #15811

from uno.

Youssef1313 avatar Youssef1313 commented on September 26, 2024

I can try another fix though

from uno.

dr1rrb avatar dr1rrb commented on September 26, 2024

@dr1rrb Is this about ItemsRepeaterManyItems sample? Are you testing Gtk or WPF?

For Gtk, it's a known problem which I tried to fix, but the fix broke Gallery canary so it was reverted. See #15811

Eh eh no it was only to have an issue to track my time ... but since I now found the root cause I can rename it and add details :)

from uno.

ramezgerges avatar ramezgerges commented on September 26, 2024

This needs a more detailed information.
I tried this but no flickering happened:

// in sample constructor:
ir.DataContext = Enumerable.Range(0, 1000).Select(i => new VM(i.ToString(), i % 2 == 0)).ToList();


public class VM
{
    private string value;
    private bool isVisible;

    public VM(string value, bool isVisible)
    {
        this.value = value;
        this.isVisible = isVisible;
    }
    public string Value => value;
    public bool IsVisible => isVisible;
}
<ScrollViewer Height="400">
      <ItemsRepeater x:Name="ir" ItemsSource="{Binding}">
        <ItemsRepeater.ItemTemplate>
          <DataTemplate>
            <Border Visibility="{Binding IsVisible}">
              <TextBlock Text="{Binding Value}" />
            </Border>
          </DataTemplate>
        </ItemsRepeater.ItemTemplate>
      </ItemsRepeater>
    </ScrollViewer>

However, there is some extreme corruption happening. Reported in #16992

from uno.

dr1rrb avatar dr1rrb commented on September 26, 2024

However, there is some extreme corruption happening. Reported in #16992

That's what I call "flicker" since it's when you scroll (depending of the scroll direction you will be able to see some items or not). Closing #16992 as duplicate of this.

Edit: Feel free to rename this issue if you find it not descriptive enough ;)

from uno.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.