Topic: Treeview on expand node remove easing effect

Yiannis Kyriazidis free asked 2 years ago

When using the .expand() method on treeview to open to a specific node right now it has an easing effect that slowily opens to the selected node. It makes the perceived loading look slow.

Is there a way to remove the easing effect so that it opens with no effects at all ?

example snippet:

Dawid Wajszczuk staff answered 2 years ago


There is no option for removing this animations from Treeview.

Keep coding,

Dawid Wajszczuk staff commented 2 years ago

But you can try this solution, add this CSS code to your project:

.treeview ul.collapsing {
    transition-duration: 0ms;
    transition-delay: 0ms;

Here is the snippet

Yiannis Kyriazidis free answered 2 years ago

Thats Perfect! Thank you.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: windows desktop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: Yes