Topic: mdbTableScroll maxHeight problem

Pandic_AT free asked 4 years ago


Hello, there is a problem with setting maxHeight attribute to scrollable table. This attribute only allows set number, but for example %, vh, calc() don't work. I looked to mdb-table-scroll-directive.ts and saw that maxHeight work only with a number (because of this.maxHeight+'px' in setStyle). If you delete +'px', people can use maxHeight="500px", maxHeight="80%", maxHeight="calc(100vh - 200px)" or anything else, not only number. Same problem is for setting maxWidth. Can you include this change, or better solution, to update? Thanks


Arkadiusz Idzikowski staff commented 4 years ago

We will take a closer look at that and update the input type.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.8.1
  • Device: pc
  • Browser: all
  • OS: win10
  • Provided sample code: No
  • Provided link: No