Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49235

Ion-content is scrollable when ion-scroll is inside

$
0
0

@danielle123 wrote:

Hi,

I have a page with only a html5 video and a ion-scroll (empty without any content or sub items) in ion-content. The page code is attached at the end.

My issue:

ion-content becomes slightly scrollable (i.e. the page can scroll down couple of pixels) if ion-scroll is in the page.
If ion-scroll is removed from the page, the scroll bar disappears, and the video player is fixed on top of the screen as expected.

the 1st screenshot shows the video player at correct location, while 2nd screenshot shows the page is scrolled down

I have no idea where this issue roots from.

Br,
D

<ion-header>
...
</ion-header>

<ion-content no-padding>
  <video>
     .....
  </video>
  <ion-scroll>
  </ion-scroll>
</ion-content>

<ion-footer>
...
</ion-footer>

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>