mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 02:31:34 +08:00
fix(spinner): fix default spinner logic for relevant components (#17660)
- In the **`loading`** component, fallback 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. fixes #17659
This commit is contained in:

committed by
Brandy Carney

parent
b5a393bd48
commit
9c48fa715d
@ -30,7 +30,7 @@ export class InfiniteScrollContent implements ComponentInterface {
|
||||
if (this.loadingSpinner === undefined) {
|
||||
this.loadingSpinner = this.config.get(
|
||||
'infiniteLoadingSpinner',
|
||||
this.config.get('spinner', 'lines')
|
||||
this.config.get('spinner', this.mode === 'ios' ? 'lines' : 'crescent')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user