Skip to content

fix(spinner): fix default spinner logic for relevant components - #17660

Merged
brandyscarney merged 47 commits into
ionic-team:masterfrom
abennouna:fix-default-spinner-icons
Mar 15, 2019
Merged

brandyscarney merged 47 commits into
ionic-team:masterfrom
abennouna:fix-default-spinner-icons

Conversation

@abennouna

Copy link
Copy Markdown
Contributor

Short description of what this resolves:

Currently, the default spinner icon is using the iOS platform default (lines), even in MD mode, for the following components:

  • refresher
  • infinite-scroll

In addition, the default loading spinner icon logic is not consistent with the above components. It does not try to get the spinner icon from config before falling back to platform default.

Finally, some test templates using the infinite-scroll component are not correctly using the loading spinner and text attributes.

Changes proposed in this pull request:

  • In the loading component, fall back to spinner icon config before platform default.
  • In both refresher & infinite-scroll components, use platform default as final fallback.
  • In infinite-scroll test templates, and the basic virtual-scroll test template, fix loading spinner and text attributes.

Ionic Version: 4.x

Fixes: #17659

chore(): update to latest master
Merge pull request #2 from ionic-team/master
@ionitron-bot ionitron-bot Bot added the package: core @ionic/core package label Mar 2, 2019

@liamdebeasi liamdebeasi left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! 🚀

@brandyscarney
brandyscarney merged commit 9c48fa7 into ionic-team:master Mar 15, 2019
@brandyscarney

Copy link
Copy Markdown
Member

Thank you!

@abennouna
abennouna deleted the fix-default-spinner-icons branch March 17, 2019 20:53
liamdebeasi added a commit that referenced this pull request Mar 19, 2019
liamdebeasi added a commit that referenced this pull request Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants