Skip to content

ModusTable - maxHeight to support a value which is a number of rows #3374

@axelsean

Description

@axelsean

Prerequisites

Proposal

Currently the maxHeight supports a string, which seems to be interpreted as a height for HTML, so it could be "400px" or "40%"

Supporting a number of rows would remove any dependency on the CSS setting for row sizes.

Motivation and context

rows are cropped when the maxHeight is not an exact multiple of the row height (plus spacing)

This can also be used to size the ModusTable component height correctly - removing the need to set any height explicitly in a surrounding div

What is the issue regarding ?

@trimble-oss/modus-web-components

Priority

Low

What product/project are you using Modus Components for ?

Trimble Unity Pavement

What is your team/division name ?

AgileAssets

Are you willing to contribute ?

None

Are you using Modus Web Components in production ?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    external-requestBugs and features reported by individuals from other teams in Trimble

    Type

    No type

    Projects

    Status

    In Review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions