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

Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

Understanding generators in Python2019 Community Moderator ElectionGenerator function not working pythonFor loop not executing two timesGenerators - Printing generated valuesWhy can a python generator only be used once?What exactly do generators do?What does the “yield” keyword do?What does “list comprehension” mean? How does it work and how can I use it?sklearn Kfold acces single fold instead of for loopIs a generator the callable? Which is the generator?Apply Border To Range Of Cells Using OpenpyxlCalling an external command in PythonWhat are metaclasses in Python?What is the difference between @staticmethod and @classmethod?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow can I safely create a nested directory in Python?Does Python have a ternary conditional operator?Understanding slice notationUnderstanding Python super() with __init__() methodsDoes Python have a string 'contains' substring method?

How can I change the color of pagination dots of UIPageControl?How to change UIPageControl dotsIs there a way to change page indicator dots colorCustomize dot with image of UIPageControl at index 0 of UIPageControlNo visible @interface for 'NSObject<PageControlDelegate>' declares the selector 'pageControlPageDidChange:'How to change the color of pagination dots in UIPageControl with a different color per pagepagecontrol indicator custom image instead of DefaultChanging the colour of UIPageControl dots in MonoTouchpagecontrol selectable page visibility color?Alternative way to load ViewControllers on a UIPageControlHow to set only layer.border-color for UIpage control dots in swiftHow can I develop for iPhone using a Windows development machine?How to change the name of an iOS app?UITableView - change section header coloruipagecontrol indicator(dot)issueCustom UIPageControl dots color not changingchange the interspace between UIPageControl dotsHow to change Status Bar text color in iOSHow can I change image tintColor in iOS and WatchKitUIPageControl dots with larger space in between each dotsHow to change the color of pagination dots in UIPageControl with a different color per page