refactor(scroll): merge into ion-content

This commit is contained in:
Manu Mtz.-Almeida
2018-08-10 00:00:18 +02:00
parent a4571bfa4f
commit 997cda0667
31 changed files with 548 additions and 912 deletions

View File

@@ -44,6 +44,7 @@ A list of the breaking changes introduced to each component in Ionic Angular v4.
- [Radio](#radio)
- [Range](#range)
- [Refresher](#refresher)
- [Scroll](#scroll)
- [Segment](#segment)
- [Select](#select)
- [Spinner](#spinner)
@@ -1113,6 +1114,23 @@ The `enabled` property (with a default value of `true`) has been renamed to `dis
</ion-refresher>
```
## Scroll
`ion-scroll` has been removed, fortunatelly `ion-content` can work as a drop-in replacement:
```diff
- <ion-scroll scrollX="true">
+ <ion-content scrollX="true">
```
Another very good option is to style a `div` to become scrollable using CSS:
```css
div.scrollable {
overflow: scroll
}
```
## Segment