ScrollView doesn't scroll in NativeScriptHow to create user by Nativescript firebase plugin?nativescript-angular - UI won't update when running a callback from a serviceDynamically generating Angular2 Components for NativeScriptWhy is the ScrollView jumping up and down when returning to main view on iOS?Nativescript scroll to bottom of ScrollView programmaticallyNativeScript: ChildActivationStart Event getting triggered causing my page to redirectHow to stop ActivatedRoute.queryParams.subscribe to be called on back navigation?Custom components can't access default NativeScript directivesNativescript: several quick taps on the button creates multiply load of navigated pageNativeScript Angular: How do I redirectTo child nested route?

A Trivial Diagnosis

US tourist/student visa

Has the laser at Magurele, Romania reached a tenth of the Sun's power?

Review your own paper in Mathematics

How do you make your own symbol when Detexify fails?

Is this toilet slogan correct usage of the English language?

What to do when eye contact makes your coworker uncomfortable?

Creating two special characters

Why does AES have exactly 10 rounds for a 128-bit key, 12 for 192 bits and 14 for a 256-bit key size?

Can you use Vicious Mockery to win an argument or gain favours?

Quoting Keynes in a lecture

How much theory knowledge is actually used while playing?

Can I cause damage to electrical appliances by unplugging them when they are turned on?

When were female captains banned from Starfleet?

Change the color of a single dot in `ddot` symbol

Why do ¬, ∀ and ∃ have the same precedence?

What is Cash Advance APR?

How to make money from a browser who sees 5 seconds into the future of any web page?

"It doesn't matter" or "it won't matter"?

Why is the Sun approximated as a black body at ~ 5800 K?

Multiplicative persistence

Taxes on Dividends in a Roth IRA

Stack Interview Code methods made from class Node and Smart Pointers

Can I turn my anal-retentiveness into a career?



ScrollView doesn't scroll in NativeScript


How to create user by Nativescript firebase plugin?nativescript-angular - UI won't update when running a callback from a serviceDynamically generating Angular2 Components for NativeScriptWhy is the ScrollView jumping up and down when returning to main view on iOS?Nativescript scroll to bottom of ScrollView programmaticallyNativeScript: ChildActivationStart Event getting triggered causing my page to redirectHow to stop ActivatedRoute.queryParams.subscribe to be called on back navigation?Custom components can't access default NativeScript directivesNativescript: several quick taps on the button creates multiply load of navigated pageNativeScript Angular: How do I redirectTo child nested route?













0















I've been trying to use NativeScript with Angular to create my first mobile application and have been doing pretty well so far. Recently though, I've ran into this problem where the page won't scroll to show me the rest of the page. I've re-created this in the Playground for you guys to see as well. I've tried changing the order that the ScrollView and StackLayouts are but I can't seem to figure out why it won't scroll. Here's the Playground: https://play.nativescript.org/?template=play-ng&id=rNYOHR



Note: I'm on an iPhone 5S so some people out there with bigger phones might be able to see the whole thing, but I can't.










share|improve this question






















  • Generally you wouldn't use % for margin / padding, just numbers (that defaults to DIP - Density Independent Pixel) should give decent spacing on all screen ranges.

    – Manoj
    Mar 8 at 14:44











  • @Manoj ahhhh. interesting. that fixed the problem that I was having with spacing! thank you so much!!

    – rcarcia02
    Mar 8 at 19:23















0















I've been trying to use NativeScript with Angular to create my first mobile application and have been doing pretty well so far. Recently though, I've ran into this problem where the page won't scroll to show me the rest of the page. I've re-created this in the Playground for you guys to see as well. I've tried changing the order that the ScrollView and StackLayouts are but I can't seem to figure out why it won't scroll. Here's the Playground: https://play.nativescript.org/?template=play-ng&id=rNYOHR



Note: I'm on an iPhone 5S so some people out there with bigger phones might be able to see the whole thing, but I can't.










share|improve this question






















  • Generally you wouldn't use % for margin / padding, just numbers (that defaults to DIP - Density Independent Pixel) should give decent spacing on all screen ranges.

    – Manoj
    Mar 8 at 14:44











  • @Manoj ahhhh. interesting. that fixed the problem that I was having with spacing! thank you so much!!

    – rcarcia02
    Mar 8 at 19:23













0












0








0








I've been trying to use NativeScript with Angular to create my first mobile application and have been doing pretty well so far. Recently though, I've ran into this problem where the page won't scroll to show me the rest of the page. I've re-created this in the Playground for you guys to see as well. I've tried changing the order that the ScrollView and StackLayouts are but I can't seem to figure out why it won't scroll. Here's the Playground: https://play.nativescript.org/?template=play-ng&id=rNYOHR



Note: I'm on an iPhone 5S so some people out there with bigger phones might be able to see the whole thing, but I can't.










share|improve this question














I've been trying to use NativeScript with Angular to create my first mobile application and have been doing pretty well so far. Recently though, I've ran into this problem where the page won't scroll to show me the rest of the page. I've re-created this in the Playground for you guys to see as well. I've tried changing the order that the ScrollView and StackLayouts are but I can't seem to figure out why it won't scroll. Here's the Playground: https://play.nativescript.org/?template=play-ng&id=rNYOHR



Note: I'm on an iPhone 5S so some people out there with bigger phones might be able to see the whole thing, but I can't.







angular nativescript angular2-nativescript






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 7 at 23:52









rcarcia02rcarcia02

3071722




3071722












  • Generally you wouldn't use % for margin / padding, just numbers (that defaults to DIP - Density Independent Pixel) should give decent spacing on all screen ranges.

    – Manoj
    Mar 8 at 14:44











  • @Manoj ahhhh. interesting. that fixed the problem that I was having with spacing! thank you so much!!

    – rcarcia02
    Mar 8 at 19:23

















  • Generally you wouldn't use % for margin / padding, just numbers (that defaults to DIP - Density Independent Pixel) should give decent spacing on all screen ranges.

    – Manoj
    Mar 8 at 14:44











  • @Manoj ahhhh. interesting. that fixed the problem that I was having with spacing! thank you so much!!

    – rcarcia02
    Mar 8 at 19:23
















Generally you wouldn't use % for margin / padding, just numbers (that defaults to DIP - Density Independent Pixel) should give decent spacing on all screen ranges.

– Manoj
Mar 8 at 14:44





Generally you wouldn't use % for margin / padding, just numbers (that defaults to DIP - Density Independent Pixel) should give decent spacing on all screen ranges.

– Manoj
Mar 8 at 14:44













@Manoj ahhhh. interesting. that fixed the problem that I was having with spacing! thank you so much!!

– rcarcia02
Mar 8 at 19:23





@Manoj ahhhh. interesting. that fixed the problem that I was having with spacing! thank you so much!!

– rcarcia02
Mar 8 at 19:23












1 Answer
1






active

oldest

votes


















1














I have updated the playground for you here. You have given height for the StackLayout in class and that is the culprit here.



.pageBackground
background-image: url('https://backgroundtown.com/content/images/thumbs/0002610_classic-texture-dark-cool-gray.jpeg');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
/* height: 100% */


.main-container
/* height: 100%; */
width: 100%;
/* overflow-y: scroll; */



P.S. I have tested on larger screen ios well.






share|improve this answer























  • this is awesome. is there any reason that this completely get rid of all of the vertical spacing that I had? before: imgur.com/FtVYPXT, after: imgur.com/JgshVuX

    – rcarcia02
    Mar 8 at 3:21











  • May be something to do with form-control class.

    – Narendra Mongiya
    Mar 8 at 3:26










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55054666%2fscrollview-doesnt-scroll-in-nativescript%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














I have updated the playground for you here. You have given height for the StackLayout in class and that is the culprit here.



.pageBackground
background-image: url('https://backgroundtown.com/content/images/thumbs/0002610_classic-texture-dark-cool-gray.jpeg');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
/* height: 100% */


.main-container
/* height: 100%; */
width: 100%;
/* overflow-y: scroll; */



P.S. I have tested on larger screen ios well.






share|improve this answer























  • this is awesome. is there any reason that this completely get rid of all of the vertical spacing that I had? before: imgur.com/FtVYPXT, after: imgur.com/JgshVuX

    – rcarcia02
    Mar 8 at 3:21











  • May be something to do with form-control class.

    – Narendra Mongiya
    Mar 8 at 3:26















1














I have updated the playground for you here. You have given height for the StackLayout in class and that is the culprit here.



.pageBackground
background-image: url('https://backgroundtown.com/content/images/thumbs/0002610_classic-texture-dark-cool-gray.jpeg');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
/* height: 100% */


.main-container
/* height: 100%; */
width: 100%;
/* overflow-y: scroll; */



P.S. I have tested on larger screen ios well.






share|improve this answer























  • this is awesome. is there any reason that this completely get rid of all of the vertical spacing that I had? before: imgur.com/FtVYPXT, after: imgur.com/JgshVuX

    – rcarcia02
    Mar 8 at 3:21











  • May be something to do with form-control class.

    – Narendra Mongiya
    Mar 8 at 3:26













1












1








1







I have updated the playground for you here. You have given height for the StackLayout in class and that is the culprit here.



.pageBackground
background-image: url('https://backgroundtown.com/content/images/thumbs/0002610_classic-texture-dark-cool-gray.jpeg');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
/* height: 100% */


.main-container
/* height: 100%; */
width: 100%;
/* overflow-y: scroll; */



P.S. I have tested on larger screen ios well.






share|improve this answer













I have updated the playground for you here. You have given height for the StackLayout in class and that is the culprit here.



.pageBackground
background-image: url('https://backgroundtown.com/content/images/thumbs/0002610_classic-texture-dark-cool-gray.jpeg');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
/* height: 100% */


.main-container
/* height: 100%; */
width: 100%;
/* overflow-y: scroll; */



P.S. I have tested on larger screen ios well.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 8 at 0:47









Narendra MongiyaNarendra Mongiya

1,8651822




1,8651822












  • this is awesome. is there any reason that this completely get rid of all of the vertical spacing that I had? before: imgur.com/FtVYPXT, after: imgur.com/JgshVuX

    – rcarcia02
    Mar 8 at 3:21











  • May be something to do with form-control class.

    – Narendra Mongiya
    Mar 8 at 3:26

















  • this is awesome. is there any reason that this completely get rid of all of the vertical spacing that I had? before: imgur.com/FtVYPXT, after: imgur.com/JgshVuX

    – rcarcia02
    Mar 8 at 3:21











  • May be something to do with form-control class.

    – Narendra Mongiya
    Mar 8 at 3:26
















this is awesome. is there any reason that this completely get rid of all of the vertical spacing that I had? before: imgur.com/FtVYPXT, after: imgur.com/JgshVuX

– rcarcia02
Mar 8 at 3:21





this is awesome. is there any reason that this completely get rid of all of the vertical spacing that I had? before: imgur.com/FtVYPXT, after: imgur.com/JgshVuX

– rcarcia02
Mar 8 at 3:21













May be something to do with form-control class.

– Narendra Mongiya
Mar 8 at 3:26





May be something to do with form-control class.

– Narendra Mongiya
Mar 8 at 3:26



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55054666%2fscrollview-doesnt-scroll-in-nativescript%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived