Coder Social home page Coder Social logo

Comments (19)

adamdbradley avatar adamdbradley commented on September 22, 2024

@zslabs So I think I have it fixed. It was off-center on Android too and now it seems to work. Can you double check its working on your end? http://ionicons.com/animation.html

Thanks

from ionicons.

zslabs avatar zslabs commented on September 22, 2024

Yep all fixed now, thanks!

from ionicons.

fredgalvao avatar fredgalvao commented on September 22, 2024

(This might be better suited as a ionic issue, but I thought I should try this first.)
Although the animations seen at <> work as expected, using them on ionic with some of my devices still shows the off-center behaviour.

I made a screenrecord of a simple example: https://dl.dropboxusercontent.com/u/9843306/ionicon.mp4

Details:

  1. Tested on [email protected], [email protected], [email protected] and GoogleChrome-Ripple@34
  2. It's barely noticeable on the [email protected]
  3. It seem to be much more visible on Kitkat devices and somewhat visible on Chrome
  4. I've tested this behaviour on both standalone icons, button icons, and using $ionicLoading
  5. Happens with all animated icons, but is more visible on some of them
  6. Debugging the webview remotely on chrome, I found out that on my MotoG, setting height: 40px instead of the default line-height: 42px fixes it completely. On GoogleChrome-Ripple though I wasn't able to find a value for height or a different change that could fix it, but using the same height: 40px above made it worse than it actually is.

from ionicons.

bensperry avatar bensperry commented on September 22, 2024

Thanks @fredgalvao for the info. We'll definitely look into this...

from ionicons.

cayter avatar cayter commented on September 22, 2024

Galaxy Note 3 built-in browser also has the same issue.

from ionicons.

danjohnso avatar danjohnso commented on September 22, 2024

Agreed that the animated icons are very off. Galaxy S3 on 4.4 web view has a noticeable wobble at all sizes, especially bad as they get scaled up.

from ionicons.

fredgalvao avatar fredgalvao commented on September 22, 2024

This was fixed for me on beta.7 of Ionic. I don't know which commit or issue, but I remember seeing "line-height: 40" somewhere in the changes, and I'd bet that was what fixed it.
None of the browsers/cases I mentioned before have the issue visible now.

from ionicons.

fredgalvao avatar fredgalvao commented on September 22, 2024

Actually, I went in and found the commits (just to be clear, I don't mean those are the commits that fixed it for me, I just saw that those were the only changes that had something to do with the line-height issue, so they may be):

1- ionic-team/ionic-framework@c30be67#diff-f316ce1132cb10abff622cda47400862R8
2- ionic-team/ionic-framework@0e647e7#diff-f316ce1132cb10abff622cda47400862R20

from ionicons.

danjohnso avatar danjohnso commented on September 22, 2024

I am on beta8 and I didn't see anything in the previous changelog that would cause this to reappear.

from ionicons.

shai126 avatar shai126 commented on September 22, 2024

Hi, I'm experiencing this too. Tried in beta.7 and beta.8, both gave the same result: no wobble on [email protected] (actual device), but severe wobble on [email protected] (emulator).

from ionicons.

bensperry avatar bensperry commented on September 22, 2024

Hmmm... you know, this has been a tough one for us. It's really hard to make the wobble not happen on all the different devices because all the phones translate and display fonts a little differently. We don't see it on the particular phones we test on here.

Moreover, the vast majority of devices do not have this problem, it's a small minority that do - so fixing it for those particular cases causes problems for the others. That being said, we'd love any help or advice here (we might be doing something wrong still).

If you'd like, you can go in a test them through here: https://github.com/driftyco/ionic/tree/master/test/css.

from ionicons.

danjohnso avatar danjohnso commented on September 22, 2024

Strange @shai126, I'm running on Sprint Galaxy S3 on Android 4.4.2 and the wobble is there, especially bad when the font size is increased to make it more visible.

from ionicons.

shai126 avatar shai126 commented on September 22, 2024

That sounds consistent - Android 4.4 seems to wobble more than 4.3 from
what people have said here. What I find curious is that I can't replicate
the problem with any of FontAwesome's spinning icons - I wonder if the
secret lies somewhere in their source...
On 26 Jun 2014 17:28, "danda1man" [email protected] wrote:

Strange @shai126 https://github.com/shai126, I'm running on Sprint
Galaxy S3 on Android 4.4.2 and the wobble is there, especially bad when the
font size is increased to make it more visible.


Reply to this email directly or view it on GitHub
#45 (comment).

from ionicons.

danjohnso avatar danjohnso commented on September 22, 2024

The issue is not just on android, even on my desktop and laptop the wobble is bad, especially as the font size increases making the animated icons unusable, probably going to switch to font-awesome since their animated icons don't have this issue anywhere that I have encountered.

from ionicons.

ajgassner avatar ajgassner commented on September 22, 2024

+1

from ionicons.

marcwhitbread avatar marcwhitbread commented on September 22, 2024

+1

from ionicons.

ryanmillerdev avatar ryanmillerdev commented on September 22, 2024

+1

from ionicons.

schirrel avatar schirrel commented on September 22, 2024

shoul this be closed?

from ionicons.

bensperry avatar bensperry commented on September 22, 2024

Yes

from ionicons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.