Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Scrollview Locked to Screen Height between Sections

ANSWERED

I am building an app that uses the scroll view. It seems that I am locked to the screen height as the minimum space between sections. I tried to change the height of the rectangles but it doesn't seem to change anything. 

<use href="#scrollview-item">
      <rect width="100%" height="75" fill="fb-black" />

Weather_And_Forecast-screenshot.png

https://github.com/cmspooner/Weather-and-Forecast

 

What am I doing wrong? Is this a limitation of the scroll view? Is there a better option?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

I figured it out. I had to set the height in the  #scrollview-item section

 

<use href="#scrollview-item" height = "90">

View best answer in original post

Best Answer
1 REPLY 1

I figured it out. I had to set the height in the  #scrollview-item section

 

<use href="#scrollview-item" height = "90">
Best Answer