Topic: Tree view bug - next category do "mini jump" back after previous expanded

meesha81 priority asked 1 month ago


Expected behavior Smooth expand without "mini jump".

Actual behavior

Snippet from pure documentation demo. Nothing special.

  1. Open snippet
  2. Expand Second-three
  3. 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 1 month ago


Thank you for reporting this issue. We will fix it soon.



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: Priority
  • 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