ionic icon indicating copy to clipboard operation
ionic copied to clipboard

Got some issue in Android device tabs at top are not scrolling when dragging the below content and even on clicking the last visible tab it is not moving to the center

Open Rawikirran opened this issue 9 years ago • 18 comments

ravi ionic app

Rawikirran avatar Jan 27 '16 06:01 Rawikirran

this is not supported in latest ionic version for android devices can you fix this

Rawikirran avatar Jan 27 '16 10:01 Rawikirran

I hope this can be of help.

tabSlideBox.js

before------------------------------- var currentX = Math.abs(getX(scrollDiv.style.webkitTransform));

after------------------------------- var currentX = Math.abs(getX(scrollDiv.style.webkitTransform)); // when currentX is NaN 20160211 if (currentX !== currentX) { currentX = ionicScrollDelegate.getScrollPosition().left; }

ghost avatar Feb 11 '16 15:02 ghost

@Rawikirran , @friedog Hi guys, did you find some solution for this issue? I'm having the same problem in android devices. Thank you guys.

ghost avatar Mar 29 '16 16:03 ghost

I am also Facing the Same issue , Any of you found solution

Gopinath7007 avatar Jul 13 '16 11:07 Gopinath7007

Hmmm.. I don't even remember what was the issue, but right know I have this problem solved, I made a lot of modifications in the source code, I'll check if I find what I did and come back with and answer. Here is my mail also if you have some extra help. diego.cortez at tutanota de

ghost avatar Jul 13 '16 17:07 ghost

Hi diego-cortez ... Thank u for your attention .... we are facing this issue only for android devices

Gopinath7007 avatar Jul 14 '16 05:07 Gopinath7007

I have Solved this issue it is ionic issue ... Just copy go to the link(http://code.ionicframework.com/1.0.0-rc.4/js/ionic.bundle.min.js) and copy entire file save it to www/js foler and replace instead of ionic.bundle.min.js

Gopinath7007 avatar Jul 14 '16 06:07 Gopinath7007

@Gopinath7007 That's works for me! Thnks a lot

zimaah avatar Dec 20 '16 11:12 zimaah

@Gopinath7007 It is working fine on browser after ionic serve but not on android real device. Can anyone help please

anjali14garg avatar May 08 '17 09:05 anjali14garg

@anjali14garg , Just go to platforms -- > android --> assets and

delete www folder and try ionic run android

if that dsnt work , trry remove platform add again ....

Gopinath7007 avatar May 09 '17 01:05 Gopinath7007

@Gopinath7007 Thanks for your reply , I already tried your solution. It is not working. The version for the file you have given is v1.0.0-rc.4 and i am using v1.3.2. This is the higher version from yours. According to you the higher version have problems. My ionic info details: Cordova CLI: 6.5.0 Ionic CLI Version: 2.2.3 Ionic App Lib Version: 2.2.1 OS: Linux 4.8 Node Version: v5.0.0

And ionic -v command gives me 2.2.3 but the project is using ionic 1 and angular js So I think issue is with ionic version .Anything to be changed please advice. And what is the reason that it is working absolutely fine in IOS devices.

anjali14garg avatar May 09 '17 05:05 anjali14garg

Same issue has been fixed and app is in live , I was busy with react redux so I misd :( ionic a lot , Give me some time i will check it and ping you back with the solution ... ASAP ...

Gopinath7007 avatar May 17 '17 12:05 Gopinath7007

@Gopinath7007 Ya sure please let me know when it is resolved as my app is pending because of this issue to go Live

anjali14garg avatar May 19 '17 08:05 anjali14garg

Oops its working fine in my device ... could you please send me your www folder to check it out

Gopinath7007 avatar May 20 '17 03:05 Gopinath7007

@Gopinath7007 can you please share your mail id as its not possible for me to share my www folder here.

anjali14garg avatar May 22 '17 06:05 anjali14garg

Hi Anjali this is my email , [email protected] ,

Gopinath7007 avatar May 23 '17 04:05 Gopinath7007

Thanks @Gopinath7007 It worked for me...:)

anjali14garg avatar May 24 '17 08:05 anjali14garg

@Gopinath7007 - What was the issue with ionic which you fixed? I am using ionic version 1.3.4 and i am getting this issue. Do i need to put in your fix in ionic 1.3.4?

CatchSandeepVaid avatar Jun 04 '18 13:06 CatchSandeepVaid