View problem bug


#1

hello,
have anybody ever seen this problem.i was working.then seems like some parts of the view rendered twice.one above the other.noidea why.the code seems fine



it was working before.don’t know how this happend
here’s the code of the page

See the Pen wdJqKj by mohamed reda (@redamed) on CodePen.

it was working well.then gone thank you

EDIT:icreated another view.still the same

i still have the same problem in one page if anybody knows a fix for this.

as you see after i scroll down i get that.the value in the button not showing.
do i need to update ionic?
ionic :2.2.1
cordova:6.5.0


#2

This is the version if the Ionic CLI, not Ionic.

To get information about Ionic run ionic info on the commandline and post your package.json here.


#3

here’s the package.json

{
  "name": "app",
  "version": "1.1.1",
  "description": "app: An Ionic project",
  "dependencies": {
    "font-awesome": "^4.7.0",
    "gulp": "^3.5.6",
    "gulp-concat": "^2.2.0",
    "gulp-minify-css": "^0.3.0",
    "gulp-rename": "^1.2.0",
    "gulp-sass": "^2.0.4",
    "ionic-angular": "2.1.0",
    "moment": "^2.18.1",
    "ng2-translate": "^5.0.0"
  },
  "devDependencies": {
    "bower": "^1.3.3",
    "gulp-util": "^2.2.14",
    "shelljs": "^0.3.0"
  },
  "cordovaPlugins": [
    "cordova-plugin-whitelist",
    "cordova-plugin-statusbar",
    "cordova-plugin-console",
    "ionic-plugin-keyboard",
    "cordova-plugin-splashscreen",
    "cordova-plugin-device"
  ],
  "cordovaPlatforms": []
}

thank you for the response


#4

From this it looks more like an Ionic-v1 project, post your ionic info too to make sure.

Edit: I missed the ionic-angular line. D’oh.


#5

here it is
ordova CLI: 6.5.0
Ionic Framework Version: 2.1.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.10.0
Xcode version: Not installed


#6

Ok, updating Ionic to the current version probably wouldn’t hurt - especially as you don’t seem to be using much of the stuff that would make an update problematic.

If I were you I would update the Ioni CLI to 2.2.3, then create a new Ionic project and then copy parts of my code over bit for bit and make sure it works all the way.


#7

ok mate.gonna give it a try.just one thing.how to update the whole thing?ionic lib update?


#8

You don’t want to update the whole thing. You want to npm update -g ionic and then create a new Ionic project that will automatically be using the current version 3.1.1.


#9

@Sujan12 hello again.does the placement of ng-repeat changes anything?right now i am using it inside ion-content tag.after changes it’s working now.