How to scroll horizontally to specified or selected element

<ion-scroll #scroll scrollX=“true” style=“height:85px; border-bottom: 2px solid #a01e1e;”>


<ion-col col-10 *ngFor=“let date1 of dateJson.data” (click)=“selectDate1(date1.apt_id, date1.full_date)”>
<div class=“div_date” *ngIf=“appoint_date != date1.full_date” >
{{date1.date}} {{date1.day}}
{{date1.month}}

<div class=“div_date_select” *ngIf=“appoint_date == date1.full_date” #scroll>
{{date1.date}} {{date1.day}}
{{date1.month}}



this is my html code i want to access #scroll element but by getting element by id it should be null how to get that element or any other option for this