MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

Expander animation slower in class library

Open
#3,659 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug evaluation required
Dominant language
C#
Stars
16.3k
Forks
3.5k
Avg merge
1d 22h
Merged PRs (30d)
8

Description

### Bug explanation

Here is a project example
https://github.com/mouawadma/MDIXExpanderIssue

I am noticing that the expander animation is much slower when using it as part of a class library versus an independent application. Not sure why this is the case. I have attached two gifs to show it. Not sure what could be causing this?

## Class Library
![ClassLibrary](https://github.com/user-attachments/assets/156e3846-8394-4fa3-9158-b15e0c576a93)

## Independent App
![IndepedentApp](https://github.com/user-attachments/assets/7f850f28-54dd-4ea8-8960-e17d2daed7e1)

### Version

V5.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior in the linked MDIXExpanderIssue project, comparing the expander animation in the class library and independent application setups. Identify why the animation timing differs and verify that the expander animates at the expected speed in both contexts.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.