Topic: Stepper content resize

KieranFoot free asked 1 year ago


Expected behavior

The stepper content div to be resized with it's content.

Actual behavior

The content is hidden if it expands down the page when added dynamically.

Resources (screenshots, code snippets etc.)


Kamila Pieńkowska staff answered 1 year ago


There is resizeStepper method that you can use to reset the height of the stepper content after you change it.


KieranFoot free commented 1 year ago

Can I ask why the content or a parent element is having it's size explicitly set?

Surely, the simplest approach would be to let the contents size grow naturally.


Kamila Pieńkowska staff commented 1 year ago

It was a design choice needed for stepper content to be visible.

There is a possibility that we will change this approach in the feature.



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

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 6.4.0
  • Device: Desktop PC
  • Browser: Edge
  • OS: Windows
  • Provided sample code: No
  • Provided link: No