WebOS app not scrolling down on the main page - scroll

I have an Enyo webOS application I am developing for phones. There are several text inputs on the main page, with a button underneath them--however, the button is not viewable below the textboxes. However, there appears to be a scroll lock by default on the main scene--so I cannot scroll down and see the rest of the content.
How can I enable my app to allow for scrolling within a VFlexBox view?
Thanks!

Ah, I found it--I need to change from enyo.VFlexBox to enyo.Scroller for the view. Works fine!

Related

Apple Watch app scroll the view to top programmatically after launching app

I need to scroll to top the main Interface Controller of an Apple Watch app programmatically after each launch specially if users has left the app after scrolling it down.
EDIT:
This is now possible in watchOS 4. Just use the scrollToObject:atScrollPosition:animated: method.
Unfortunately, this isn't currently possible. WatchKit only provides a method to scroll to the top of a WKInterfaceTable, not an entire interface controller.
The only workaround I've found is to hide every element in the interface controller. This doesn't just hide the element, it completely removes it from the controller. Then when you unhide everything, you'll be back at the top of your content.

Create Page custom animations in Windows Phone 8.1 (Windows Runtime)

I would like to develop some animations for my pages or my page content. The approach of which one I should follow is unclear to me at the moment and I'll try to explain why.
What I'd like to achieve is to create a page (or page content) animation with a slide-in from right when navigating to the page and slide-out to left when leaving the page.
The slide-in part can be achieved with ContentThemeTransition from TransitionCollection. But what about the slide-out part?
I can't seem to know or find any good timing regarding when to fire a slide-out animation just before the page is about to be left.
I'dlike not to apply any animation to the page in such way that WP does by default (with some jump-out, jump-in effect). I'd like to be like BasicPage from templates with no animation but with custom animated content upon page enter and page leave.
How could this be achieved?
Thanks in advance.
I assume you are navigating from the page via tapping a button or something similar. Why don't you create a storyboard animation, start that from the Click event handler of the button, and call Frame.Navigate() when the animation has finished playing?

Flash page mirrored in cocoa webview in NSTabview

I have a NSTabView with dynamically created tabs. Each tab contains a webview (created when tab is added). It works fine, but if a webview display a flash website, if you go to another tab, then back to flash one, flash page is upside-down (bottom of page is on top, completely mirrored).
Any idea about what happens and how to repair it ?
I finally solved the problem by removing the NSTabView. I show and hide webviews when needed, and it works fine.

Turnstile page animation for first xaml page of application is not happening on application load

I am creating a Windows Phone application and i used turnstile animation on all the pages in my application.
The turnstile animation is happening in navigating in and out, but it does not happen when the app is loaded and first page is displayed. The page contains a panorama control with three panorama items.
When the app starts, after splash screen, the page just appear. no turnstile or any other animation happens
Kindly help with this issue.
Any help will be highly appreciated
Thanx for help in advance.
The whole app should be opened with animation. If you have the animation turned on properly on the first page, it will come animated, but not the page - the animated item will be the splashscreen.
When you close the app, it will also be animated.

How do I scroll my Palm webOS application?

This feels like a dumb newbie question. I'm attempting to follow the Palm's online tutorial for developing a webOS app. I ran palm-generate and tried updating the generated index.html file to have a body with a bunch of content (the word "HELLO" repeated 400 times).
When I attempt to load that document in the emulator, I find that I'm unable to scroll the screen to read the rest of the text. I drag the screen, but nothing happens. The page scrolls just fine in the Palm web browser.
Is there a setting to allow users to drag my app to scroll it? I see documentation for a Mojo.Widget.Scroller, but that seems like it shouldn't be necessary for a simple web page with a bunch of text on it.
Thanks to arthurthornton:
You can take anything that would normally be inside the tags and put that inside the scene HTML file.
OR you could just make a basic scene with a webview widget inside it that has your site as the source.
Unfortunately, the Scroller widget is needed for scrolling. The standard WebKit view that's shown in a card has no native scrolling ability, so the Mojo scroller widget implements the logic for displaying more content that can fit.
You can try this out by making a new project in the Ares IDE. Just add a Scroller and use the Maximize button to make it fill the scene. Then, add a HTML object to it, and add your HTML content to that object. You'll then have a nice scene which allows you to scroll through a lot of content.

Resources