How to customize mat-select dropdown position?

后端 未结 4 775
难免孤独
难免孤独 2020-12-17 10:38

Its been couple of days since i have not found the solution for this. As there is an option for mat-menu that is overlaptrigger property but there is no property to perform

4条回答
  •  孤城傲影
    2020-12-17 11:14

    I've found the solution as disableOptionCentering direcrive for mat-select, so after using this dropdaown can be customized.

    from timmoy: https://github.com/angular/material2/pull/9885

    Example usage:

    
    
    {{ creature.viewValue }}
    
    
    

提交回复
热议问题