Treeview on expand node remove easing effect


Topic: Treeview on expand node remove easing effect

Yiannis Kyriazidis asked 8 months 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: https://mdbootstrap.com/snippets/standard/m-duszak/3288178#js-tab-view


Dawid Wajszczuk staff answered 8 months ago

Hi,

There is no option for removing this animations from Treeview.

Keep coding,
Dawid


Dawid Wajszczuk staff commented 8 months 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 https://mdbootstrap.com/snippets/standard/m-duszak/3301354


Thats Perfect! Thank you.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: 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
Tags