Topic: Treeview on expand node remove easing effect
Yiannis Kyriazidis asked 3 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: https://mdbootstrap.com/snippets/standard/m-duszak/3288178#js-tab-view
Dawid Wajszczuk staff answered 3 years ago
Hi,
There is no option for removing this animations from Treeview.
Keep coding,
Dawid
Dawid Wajszczuk staff commented 3 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 https://mdbootstrap.com/snippets/standard/m-duszak/3301354
Yiannis Kyriazidis answered 3 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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