Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CircularProgress] Fix for Android #4026

Merged
merged 1 commit into from
Apr 23, 2016
Merged

[CircularProgress] Fix for Android #4026

merged 1 commit into from
Apr 23, 2016

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Apr 17, 2016

  • PR has tests / docs demo, and is linted.
  • Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
  • Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

I have the following issue on my Android Phone.
capture d ecran 2016-04-17 a 23 14 22

Setting strokeMiterlimit to 20 instead of 10 fix a rendering issue.
I have no idea why and how this fix work 😁.

@oliviertassinari
Copy link
Member Author

Looking at this documentation https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-miterlimit`, it turns out that strokeMiterlimit shouldn't have any impact on the rendering of the SVG.
That looks like a bug with the SVG implementation.

Still, strokeMiterlimit is an upper-limit, increasing it should be safe.

@nathanmarks
Copy link
Member

nathanmarks commented Apr 21, 2016

@oliviertassinari what OS/browser? I don't see the issue on my android

i am using chrome 49.0.2623.105 on Android 6.0.1

@oliviertassinari
Copy link
Member Author

@nathanhere I was able to reproduce the issue on the documentation using Chrome 49.0.2623.105 on Android 5.1.1.
capture d ecran 2016-04-22 a 22 53 29

@nathanmarks
Copy link
Member

nathanmarks commented Apr 22, 2016

@oliviertassinari What device is that? I can't reproduce on a nexus 6 running android 5 either 😟

@oliviertassinari
Copy link
Member Author

@nathanmarks It's a OnePlus X. Notice that it doesn't occur when you navigate from another page of the documentation. It's really weird 😨

@nathanmarks
Copy link
Member

@oliviertassinari yeah, I'm happy to merge as I totally see the issue in your screenshot -- just driving me crazy that I can't reproduce 😆

@nathanmarks
Copy link
Member

What version of the docs?

@oliviertassinari
Copy link
Member Author

oliviertassinari commented Apr 23, 2016

I'm running the docs on the master branch.

just driving me crazy that I can't reproduce

Well, once you do, you will try to understand it. I don't, that's driving me crazy 😁.
You can also see this issue here when tapping on Export.
Actually, there are 2 other issues on this page:

@nathanmarks
Copy link
Member

@oliviertassinari I think I see it! (it's so quick though I can't tell 100% 😄 ) gonna take a closer look 😄

@nathanmarks
Copy link
Member

@oliviertassinari

Look what I reproduced -- finally! haha

2016-04-23 at 6 49 pm

@oliviertassinari
Copy link
Member Author

@nathanmarks I'm not the only one 🎉.

it's so quick though

You can slow down the CPU with Chrome Dev Tool:
capture d ecran 2016-04-24 a 00 51 01

@nathanmarks
Copy link
Member

nathanmarks commented Apr 23, 2016

@oliviertassinari ready for this one?

I see it on a nexus 6 running android 6 but not on a nexus 6 running android 5 (same chrome version) -- yet it's fine on my nexus 6p running android 6 lol.....!

@nathanmarks
Copy link
Member

Oh man... I haven't a clue.

@nathanmarks
Copy link
Member

Just out of interest -- was 20 the lowest value that fixed it for you? Was 14 for me... not sure why on earth it fixes it anyways though 😄

@nathanmarks nathanmarks merged commit 713dc4c into mui:master Apr 23, 2016
@oliviertassinari oliviertassinari deleted the circular-progress-fix branch April 24, 2016 08:43
@oliviertassinari
Copy link
Member Author

@nathanmarks I could have put 100. This property isn't supposed to have any impact form what I understand of the specification. That looks like a bug of Chrome.

@nathanmarks
Copy link
Member

@oliviertassinari Sounds good -- very strange bug at that! I could not find anything about it on the internet.

@nathanmarks
Copy link
Member

nathanmarks commented Apr 24, 2016

@oliviertassinari as a side note, the whole SVG animation thing needs work in chrome, see perf issues here (paul irish left feedback on someones testing): kdzwinel/progress-bar-animation#1

echenley pushed a commit to echenley/material-ui that referenced this pull request Apr 24, 2016
commit 70ae018
Merge: 3b640c8 713dc4c
Author: Evan Henley <[email protected]>
Date:   Sun Apr 24 15:16:17 2016 -0500

    Merge branch 'master' of github.com:callemall/material-ui

commit 713dc4c
Merge: 390108d 3d89a9d
Author: Nathan <[email protected]>
Date:   Sat Apr 23 19:20:03 2016 -0400

    Merge pull request mui#4026 from oliviertassinari/circular-progress-fix

    [CircularProgress] Fix for Android

commit 390108d
Merge: 252bc5c 5a5d28d
Author: Nathan <[email protected]>
Date:   Fri Apr 22 23:47:24 2016 -0400

    Merge pull request mui#4069 from scarletsky/improve-codemod

    [codemod] Improve the path migration

commit 5a5d28d
Author: scarletsky <[email protected]>
Date:   Fri Apr 22 22:47:51 2016 +0800

    [Codemod] Improve the path migration

commit 252bc5c
Merge: 12a6d6a ea6e7a9
Author: Nathan <[email protected]>
Date:   Fri Apr 22 17:57:19 2016 -0400

    Merge pull request mui#4074 from oliviertassinari/eslint-format-js

    [eslint] Use the js format instead of the yaml one

commit ea6e7a9
Author: Olivier Tassinari <[email protected]>
Date:   Fri Apr 22 23:33:32 2016 +0200

    [eslint] Use the js format intead of the yaml one

commit 12a6d6a
Merge: e655bf9 8bdbdc8
Author: Nathan <[email protected]>
Date:   Fri Apr 22 17:36:46 2016 -0400

    Merge pull request mui#4073 from oliviertassinari/proptypes-remove-spaces

    [Core] Remove the blank line between the propTypes definitions

commit 8bdbdc8
Author: Olivier Tassinari <[email protected]>
Date:   Fri Apr 22 23:01:52 2016 +0200

    [Core] Remove the blank line between the propTypes definitions

commit e655bf9
Merge: 88fb46d 5c9fd41
Author: Nathan <[email protected]>
Date:   Fri Apr 22 16:50:06 2016 -0400

    Merge pull request mui#4072 from oliviertassinari/docs-webpack-undefined-host

    [Docs] Set a falsy host so we can access the docs from a remote ip

commit 5c9fd41
Author: Olivier Tassinari <[email protected]>
Date:   Fri Apr 22 22:29:38 2016 +0200

    [Docs] Set a falsy host so we can access the docs from a remote ip

commit 88fb46d
Merge: 051fbc2 a76c088
Author: Olivier Tassinari <[email protected]>
Date:   Fri Apr 22 21:38:27 2016 +0200

    Merge pull request mui#4058 from mbrookes/named-imports

    [Core] Used named imports for createClass, Component & PropTypes

commit 051fbc2
Merge: 7cf7adf bb51006
Author: Nathan <[email protected]>
Date:   Thu Apr 21 19:09:13 2016 -0400

    [Docs] Add v0.15.0-beta.2 to versions.json

    [Docs] Add v0.15.0-beta.2 to versions.json

commit bb51006
Author: Nathan Marks <[email protected]>
Date:   Thu Apr 21 19:06:03 2016 -0400

    Add v0.15.0-beta.2 to versions.json

commit 7cf7adf
Merge: 1890ad1 7f61d11
Author: Nathan <[email protected]>
Date:   Thu Apr 21 18:57:41 2016 -0400

    Merge pull request mui#4060 from alitaheri/prepare-0.15.0-beta.2-release

    Prepare the 0.15.0-beta.2 release

commit 7f61d11
Author: Ali Taheri <[email protected]>
Date:   Thu Apr 21 23:55:05 2016 +0430

    Prepare the 0.15.0-beta.2 release

commit 1890ad1
Merge: acbbdbc 858dcaf
Author: Neil Gabbadon <[email protected]>
Date:   Thu Apr 21 14:40:35 2016 -0400

    Merge pull request mui#4035 from nathanmarks/raisedbutton-hover-icon

    [RaisedButton] fix hover overlay for icon only buttons, fixes mui#3815

commit acbbdbc
Merge: 9baaf7e efc62fd
Author: Olivier Tassinari <[email protected]>
Date:   Thu Apr 21 20:39:01 2016 +0200

    Merge pull request mui#4057 from dugokontov/remove-link-to-localhost

    [Docs] Remove localhost:3000 from link

commit 9baaf7e
Merge: be3615f 86b5894
Author: Olivier Tassinari <[email protected]>
Date:   Thu Apr 21 20:37:24 2016 +0200

    Merge pull request mui#4033 from antoinerousseau/dialog-title-style

    [Dialog] Merge title style when title it a node

commit a76c088
Author: mbrookes <[email protected]>
Date:   Thu Apr 21 07:27:21 2016 -0700

    [Core] Used named imports for createClass, Component & PropTypes

commit efc62fd
Author: Sergej Dugokontov <[email protected]>
Date:   Thu Apr 21 13:50:45 2016 +0200

    [Docs] Remove localhost:3000 from link

commit 86b5894
Author: Antoine Rousseau <[email protected]>
Date:   Mon Apr 18 19:11:36 2016 -0500

    [Dialog] merge title style when it's a node, fixes mui#3373

commit be3615f
Merge: 8cdf8a8 c816c89
Author: Matt Brookes <[email protected]>
Date:   Wed Apr 20 13:13:41 2016 -0700

    Merge pull request mui#4048 from nathanmarks/readme-beta-installation

    [Docs] Add beta installation details to the README

commit 8cdf8a8
Merge: b266f34 c71f1b2
Author: Olivier Tassinari <[email protected]>
Date:   Wed Apr 20 21:19:04 2016 +0200

    Merge pull request mui#4044 from nathanmarks/checkbox-style-fix

    [ListItem] Add extra width to leftCheckbox for EnhancedSwitch margin, fixes mui#4016

commit c71f1b2
Author: Nathan Marks <[email protected]>
Date:   Wed Apr 20 00:27:44 2016 -0400

    [ListItem] Add extra width to leftCheckbox for EnhancedSwitch margin

    Fixes mui#4016

commit c816c89
Author: Nathan Marks <[email protected]>
Date:   Wed Apr 20 09:05:45 2016 -0400

    [Docs] Add beta installation details to the README

    Adds instructions for installing the @next npm package to the README. Also removed an incorrect line from the installation instructions.

commit 858dcaf
Author: Nathan Marks <[email protected]>
Date:   Tue Apr 19 00:13:16 2016 -0400

    [RaisedButton] Add browser for mui#3815 and a couple of starting unit tests

commit ceda73d
Author: Nathan Marks <[email protected]>
Date:   Mon Apr 18 21:29:33 2016 -0400

    [RaisedButton] Add explicit height property to overlay, fixes mui#3815

commit 3d89a9d
Author: Olivier Tassinari <[email protected]>
Date:   Sun Apr 17 23:09:56 2016 +0200

    [CircularProgress] Fix for Android
@zannager zannager added the component: CircularProgress The React component label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: CircularProgress The React component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants