AvaloniaUI / Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
https://avaloniaui.net
MIT License
25.98k stars 2.25k forks source link

Carousel Transitions Not Working #11389

Open MorningSage opened 1 year ago

MorningSage commented 1 year ago

Describe the bug Carousel transitions don't always work. See steps to reproduce for specifics

To Reproduce

  1. Using this example project which showcases a WORKING example, compile and run to observe the page transition of PageSlide with a Horizontal orientation functioning as designed by using the back and next buttons provided.
  2. Open the MainWindow axaml and update this line to comment out the zero-width combobox.
  3. Rerun the project
  4. Notice that the page transition is now broken and does not function. Instead, the text somewhat fades and transitions in-place.
  5. Add back the combox by uncommenting the line and notice that the page transitions are now restored.

Expected behavior Expected behavior is to function as designed with or without the combobox.

Desktop (please complete the following information):

Additional context I have also attempted to use different controls in place of the combobox to no avail. The position of the combobox within the provided panel in the sample project does not matter. For instance, you may move it to ABOVE the Carousel and the page transitions will work correctly.

timunie commented 1 year ago

That doesn't make much sense, but I can reproduce it using preview8. I can still reproduce using latest nightly, so https://github.com/AvaloniaUI/Avalonia/pull/11326 doesn't seem to have fixed it.

/cc @grokys