# Best way to make scroll into a element

**URL:** <https://forum.ionicframework.com/t/best-way-to-make-scroll-into-a-element/131756>\
**Category:** ionic-v3\
**Created:** [May 30, 2018, 12:48pm UTC](https://forum.ionicframework.com/t/best-way-to-make-scroll-into-a-element/131756 "2018-05-30T12:48:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ejmatoso](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@ejmatoso](https://forum.ionicframework.com/u/ejmatoso)\
**Post date:** [May 30, 2018, 12:48pm UTC](https://forum.ionicframework.com/t/best-way-to-make-scroll-into-a-element/131756/1 "2018-05-30T12:48:35Z")

</div>

I create scroll into a element, for do this I tried:

HTML:

```auto
<ion-content>
  <ion-grid style="height:100%" *ngIf="plat && ticket">
    <ion-row>
      <ion-col col-4 padding>
        <ticket-info [ticket]="ticket"></ticket-info>        
      </ion-col>
      <ion-col class="scrollabe" col-8 no-margin>
          <ticket-acao [ticket]="ticket"></ticket-acao>
      </ion-col>
    </ion-row>
  </ion-grid>
</ion-content>

```

CSS:

```auto
.scroll-content {
  overflow: hidden;
 }

.scrollabe {
  overflow-y: scroll;
}

```

But this hides my content:

 ![Screenshot_1](https://global.discourse-cdn.com/ionicframework/original/3X/b/7/b7c293eea3ec42057b6cf8cc03cb589fe52ae2f0.png)

Also, i tried this way:

```auto
<ion-content>
  <ion-grid *ngIf="plat && ticket">
    <ion-row>
      <ion-col col-4 padding>
        <ticket-info [ticket]="ticket"></ticket-info>        
      </ion-col>
      <ion-col col-8 no-margin>
        <ion-scroll scrollY="true" style="height: 100%;width: 100%">
          <ticket-acao [ticket]="ticket"></ticket-acao>
        </ion-scroll>
      </ion-col>
    </ion-row>
  </ion-grid>
</ion-content>

```

```auto
.scroll-content {
  overflow: hidden;
 }

```

and the same issue occurs…

The problem is solved if i decrease the height, but i lose the responsive layout.

So, what is the best way to make that?

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:33pm UTC](https://forum.ionicframework.com/t/best-way-to-make-scroll-into-a-element/131756/2 "2021-07-19T21:33:49Z")

</div>

Closed on July 19, 2021, 9:33pm UTC


