-
Notifications
You must be signed in to change notification settings - Fork 77
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
[Loader] Animation buggy on iOS #6383
Comments
It looks like this issue is missing some information:
Issues without reproduction samples may not be prioritized. If you were unable to create a sample, please try to answer any questions that arise once development begins. Thanks for your understanding. |
Worth noting that this is also reproducible on OS X (Ventura 13.5, Safari 16.6). |
**Related Issue:** #6383 ## Summary This revisits how the loader animates its different segments to play nicely across all browsers. It seems like the percentages calculated [here](https://github.com/Esri/calcite-design-system/blob/main/packages/calcite-components/src/components/loader/loader.scss#L179-L181) are causing Safari to interrupt the animation before resetting (there are some [existing](https://bugs.webkit.org/show_bug.cgi?id=258897) [issues](https://bugs.webkit.org/show_bug.cgi?id=249307) on this behavior). It comes close to the original, but it's not identical, so I'm open to suggestions on how to improve this. cc @driskull @macandcheese @paulcpederson Also, the `loader-clockwise` (rotating) animation is now applied to the SVG container to avoid it being overwritten by the `loader-offset-#` animations. This also fixes the determinate loader logic that mimics a loader updating dynamically (demo page).
Installed and assigned for verification. |
Verified with iOS 16.6 in Chrome with |
Actual Behavior
Animation of Loader is buggy on iOS (Safari and Chrome):
RPReplay_Final1675113918.MP4
Expected Behavior
I'd expect the loader to animate smoothly.
Reproduction Sample
https://developers.arcgis.com/calcite-design-system/components/loader/
Reproduction Steps
A simple loader in isolation in code pen or in the developer site sample displays the issue.
Reproduction Version
1.0.3
Relevant Info
I noticed this on my iOS devices. I don't have an Android device to test but would be good to confirm. Can use XCode Simulator to recreate locally.
Regression?
No response
Impact
No response
Esri team
Calcite (design)
The text was updated successfully, but these errors were encountered: