Cordova App rate aligning buttons vertically - javascript

I'm using phonegap with the app rate plugin. I'm calling:
AppRate.promptForRating(true);
and I'm getting all buttons in a single line.
There are 3 buttons, and in many devices button's text is truncated.

Seems to be an open issue of the plugin. Add your case to the open issue on github.
If you can solve this issue by your own, send a pull request to the author.

Related

Ionic Lag Between Transtions

I'm working on an Ionic v1 tabbed application with a few images and lists displayed.
When I'm testing the app on any Android Device, I experience a 1-5 second lag between selecting the device's back button and when the transition takes place.
This happens when I navigate to a new page within a tab, scroll down, then select the back button.
The back button on the app itself works just fine with no lag
If I navigate to the new page and don't scroll, the device back button works fine
I'm not displaying a lot of data at one time. This lag occurs even with a single image displayed
I've had this issue for quite some time, there's several Github tickets on this but none of them have a solution. Anyone have any ideas whatsoever on how to resolve this?
Turns out that enabling JS Scrolling where I have a fair amount of content fixes my issue. By default I leave it disabled on Android, and utilize overflow-scroll="true" on views where it's needed.
Note this issue does not occur when using collection-repeat

scroll not working in cordova application

I am developing a Cordova based application for iOS and Android.
In my application, I have a <div> which contains various buttons created dynamically using a for loop.
The problem arises when the number of buttons are greater than what can be displayed on the screen at one time. Surprisingly, scrolling does not work at all when you try with one finger, but works fine when you try with two. Even then, its not that smooth. I am not using any third party library for scrolling and I am not sure whether I am inclined to do so.
My code:
for(i=0;i<rows;i++){
$("#main").append('<button>');
}
I tried putting the for loop inside a div and setting the overflow property as scroll, but it did not work.
What can I do to resolve the issue?

CKEditor Rails blank page after youtube-video added on update

I use ckeditor gem https://github.com/galetahub/ckeditor/
I add video from youtube on edit page and click Save -> blank page, and in URL-adress there is "data:," (every time same).
Content of editor saved, but every time user needs to click "back" button.
I use google and found just this: http://ru.wikipedia.org/wiki/Data:_URL
P.S.: in Firefox there isn't this bug, only in Chromium/Chrome
Rails 4, in dev/prod both
I have the same issue, I suspect most users will too.
If I get time today I plan on investigating this further but for now I will raise an issue in the Github Repo.
I had a blank page issue after upgrading to the newest ckeditor 4.5. All I did to correct it is to go the top of the browser of the editing page and refresh. Then everything started populating correctly. I hope this works for you as well. Give a feedback if it works. Thanks.

Sencha Touch 2 App refuses to load content after a few days usage

First off, some context: we're building a sencha touch 2 app which works pretty well. It's basically a list with a panel which displays the content of an article that is currently tapped in the list. Kind of an RSS reader.
However, after using the app a couple of days, it turns out that it refuses to load content. Refreshing the page or reopening the app doesn't help - only manually clearing cache does.
Does anyone have a clue on how to solve this one? I obviously just clear all the elements in a given container when tapping a new item, so I wouldn't know what takes up so much cache...

Nivo slider images flashing when pulled from database

I'm trying to use Nivo Slider with a database of images. It works, but images don't load properly. Instead, they flash. It appears as though they're completely reloading every time, instead of only on the initial load. It's a strange issue.
It's on this page: http://www.holyfamilyshorewood.org/
Someone else set up the database, so I'm not entirely sure how to fix this issue.
This issue only appears in Chrome. But there is a fix for that.
Instructions are for IIS6 but i guess it is basically the same for IIS7.
Open IIS and navigate to the folder in the website which contains the
images you're having problems with. Right click it and select Properties:
In the dialog window, select the HTTP Headers tab:
Tick the Enable Content Expiration box.
Set the Expire After option and set it to 30 Minutes, or whatever
you're comfortable with.
Press OK.
This is discussed here.

Categories