kDsSelectMaxDropdownHeight top-level constant

double const kDsSelectMaxDropdownHeight

The maximum height the DsSelect dropdown may occupy.

Defined once and shared between the initial cap and the per-open clamp so the value is never duplicated. On open the dropdown is clamped to the smaller of this cap and the room available between the trigger and the viewport edge.

Implementation

const double kDsSelectMaxDropdownHeight = 280;