Topic: Tree view bug - next category do "mini jump" back after previous expanded
Expected behavior Smooth expand without "mini jump".
Actual behavior
Snippet from pure documentation demo. Nothing special.
- Open snippet
- Expand Second-three
- Expand Third-one and look at the end.
During animation height goes high (about 6px more). And then shrink (when computed style="height: 89px" is removed).
It seems like dynamic height filled to element by JS code is not computed correctly.
In this case is computed height of element as 89px, but real final height is cca 83px.
Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/meesha81/4777771
Please take a look and fix for correct/fine/smooth work of expanding category placed in the middle of several categories on the same level.
Warning: This issue cannot be seen if the category is the last, because there is nothing to do mini jump back.
Thank you for your interest.
mlazaru staff answered 2 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 6.1.0
- Device: PC
- Browser: Chrome
- OS: PC
- Provided sample code: No
- Provided link: Yes