constrainToViewport property

  1. @Input()
bool constrainToViewport
getter/setter pair

Whether to clamp the dropdown position so that it never goes offscreen.

Implementation

@Input()
bool constrainToViewport = false;