Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular ngx滚动条没有';不能很好地处理mat对话框内容_Angular_Angular Material_Scrollbar_Angular7 - Fatal编程技术网

Angular ngx滚动条没有';不能很好地处理mat对话框内容

Angular ngx滚动条没有';不能很好地处理mat对话框内容,angular,angular-material,scrollbar,angular7,Angular,Angular Material,Scrollbar,Angular7,我正在使用我的应用程序中的所有滚动条。 但是,它不能很好地处理mat对话框内容 使用下面的代码,ngx滚动条不会显示 <div class="dialog-header"> <h4>Header Here</h4> </div> <mat-dialog-content> <ng-scrollbar> {{ contents.here }} </ng-scrollbar> &l

我正在使用我的应用程序中的所有滚动条。 但是,它不能很好地处理mat对话框内容

使用下面的代码,ngx滚动条不会显示

<div class="dialog-header">
  <h4>Header Here</h4>
</div>

<mat-dialog-content>
    <ng-scrollbar>
        {{ contents.here }}
    </ng-scrollbar>
<mat-dialog-content>

<mat-dialog-actions>
 ... some buttons here
</mat-dialog-actions>

标题在这里
{{contents.here}
... 这里有一些钮扣
这是提供角度文件后生成的HTML代码: