Search found 37 matches

Go to advanced search

by Shaun7189763
Mon Jun 01, 2015 8:37 am
Forum: Issues
Topic: How to disable vertical scroll when left panel is open?
Replies: 5
Views: 869
 
Jump to post

How to disable vertical scroll when left panel is open?

The solution was :

on "panel open" event:

$(document).bind('touchmove', function(e){
e.preventDefault();
});

On "panel open" close:

$(document).unbind('touchmove');

Thx,

Shaun

by Shaun7189763
Sun May 31, 2015 8:22 am
Forum: Issues
Topic: How to disable vertical scroll when left panel is open?
Replies: 5
Views: 869
 
Jump to post

How to disable vertical scroll when left panel is open?

Illya,

I have tried your suggestion but it has no effect :

The page can still be scrolled down when the panel is opened.

by Shaun7189763
Sat May 30, 2015 1:40 pm
Forum: Issues
Topic: How to disable vertical scroll when left panel is open?
Replies: 5
Views: 869
 
Jump to post

How to disable vertical scroll when left panel is open?

Sergiy,

I have applied the css property on as on attached image, but with no effect. I still have the problem:

Image

Any other suggestion?

Best regards,

Shaun

by Shaun7189763
Sat May 30, 2015 7:11 am
Forum: Issues
Topic: In Server Code: How to iterate through each entry in a collection to test if a field matches a certain string
Replies: 4
Views: 926
 
Jump to post

In Server Code: How to iterate through each entry in a collection to test if a field matches a certain string

Hi Patrick, You could add a 'Run javascript" action on the success event of the collection you iterate through and add a code as follows: $.each(data, function( index, value ) { if (value.yourField == "some string" ) { serviceToDeleteinDB.execute({ data:{ 'where':{'field':index} }, he...
by Shaun7189763
Sat May 30, 2015 5:51 am
Forum: Issues
Topic: How to disable vertical scroll when left panel is open?
Replies: 5
Views: 869
 
Jump to post

How to disable vertical scroll when left panel is open?

Hello, I would like to know how I can prevent a page of my app, and the left menu panel, to scroll down when the left menu panel is open. I have tried the following solution : https://getsatisfaction.com/apperyio/... but it doesn't work. In fact it blocks the page from scrolling down as long as the ...
by Shaun7189763
Thu May 07, 2015 1:11 pm
Forum: Issues
Topic: localStorage cleared on app restart
Replies: 5
Views: 921
 
Jump to post

localStorage cleared on app restart

Hello Illya,

I'm testing on Android 5.0

Best regards

by Shaun7189763
Thu May 07, 2015 12:09 pm
Forum: Issues
Topic: Lollipop localstorage bug
Replies: 2
Views: 709
 
Jump to post

Lollipop localstorage bug

@bal Hello, I have the same issue and got no attention/answer/solution from Appery.io ( https://getsatisfaction.com/apperyio/... ) As a short/long term solution I have implemented localForage ( http://mozilla.github.io/localForage/ ). It is light, very easy to use, and the syntax is similar to that ...
by Shaun7189763
Wed May 06, 2015 7:13 pm
Forum: Issues
Topic: localStorage cleared on app restart
Replies: 5
Views: 921
 
Jump to post

localStorage cleared on app restart

Hello Sergiy, There are no error in the console. I have made a few changes and it is now working in the Apperyio tester but not with the proper apk. When the user signs in successfully (on success) the app runs the following javascript : localStorage.setItem('token', data.sessionToken); I have the l...
by Shaun7189763
Wed May 06, 2015 10:09 am
Forum: Issues
Topic: localStorage cleared on app restart
Replies: 5
Views: 921
 
Jump to post

localStorage cleared on app restart

Hello, I have set a localStorage value called 'token' that my application needs to get as soon as it is launched by the user. The intended behaviour : if 'token' is set = navigate directly form startScreen to another page. if 'token' is undefined/null = stay on startScreen The process works well wit...
by Shaun7189763
Tue Jan 20, 2015 2:56 pm
Forum: Issues
Topic: Opacity of panel page
Replies: 6
Views: 882
 
Jump to post

Opacity of panel page

Hello Alena, Thanks for your answer. I created a "mask" in the DOM which was a perfect solution for what I wanted to achieve. The problem with the previous solution was that the dark overlay appeared on the right of the page (the ui-panel-dismiss part) before the panel was fully opened. Th...

Go to advanced search