diff --git a/packages/core/src/components/app/app.scss b/packages/core/src/components/app/app.scss index 5e44896af1..4c9b0432b3 100644 --- a/packages/core/src/components/app/app.scss +++ b/packages/core/src/components/app/app.scss @@ -165,12 +165,20 @@ ion-app { // Page Container Structure // -------------------------------------------------- -.ion-page, -.page-inner { +.ion-page { + @include position(0); + + position: absolute; + z-index: $z-index-page-container; display: flex; flex-direction: column; justify-content: space-between; + + width: 100%; + height: 100%; + + contain: layout size style; } .hide-page { diff --git a/packages/core/src/components/content/readme.md b/packages/core/src/components/content/readme.md index 00d971a8d2..3c4622cd0d 100644 --- a/packages/core/src/components/content/readme.md +++ b/packages/core/src/components/content/readme.md @@ -20,6 +20,10 @@ view component. boolean +If true and the content does not cause an overflow scroll, the scroll interaction will cause a bounce. +If the content exceeds the bounds of ionContent, nothing will change. +Note, the does not disable the system bounce on iOS. That is an OS level setting. + #### fullscreen @@ -36,6 +40,10 @@ to transparent. boolean +If true and the content does not cause an overflow scroll, the scroll interaction will cause a bounce. +If the content exceeds the bounds of ionContent, nothing will change. +Note, the does not disable the system bounce on iOS. That is an OS level setting. + #### fullscreen diff --git a/packages/core/src/components/infinite-scroll-content/readme.md b/packages/core/src/components/infinite-scroll-content/readme.md index c14de472d4..8f79c554f0 100644 --- a/packages/core/src/components/infinite-scroll-content/readme.md +++ b/packages/core/src/components/infinite-scroll-content/readme.md @@ -16,6 +16,7 @@ You can loading icon or loading text with the component's properties. + ## Properties #### loadingSpinner @@ -24,12 +25,14 @@ string An animated SVG spinner that shows while loading. + #### loadingText string Optional text to display while loading. + ## Attributes #### loading-spinner @@ -38,12 +41,15 @@ string An animated SVG spinner that shows while loading. + #### loading-text string Optional text to display while loading. ---- -_Built with [StencilJS](https://stenciljs.com/)_ + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)* diff --git a/packages/core/src/components/menu/menu.scss b/packages/core/src/components/menu/menu.scss index a2609acabb..8c90b1f93e 100644 --- a/packages/core/src/components/menu/menu.scss +++ b/packages/core/src/components/menu/menu.scss @@ -24,7 +24,10 @@ ion-menu.show-menu { position: absolute; - display: block; + display: flex; + + flex-direction: column; + justify-content: space-between; width: $menu-width; height: 100%; diff --git a/packages/core/src/components/menu/menu.tsx b/packages/core/src/components/menu/menu.tsx index 9fd137657c..250811e229 100644 --- a/packages/core/src/components/menu/menu.tsx +++ b/packages/core/src/components/menu/menu.tsx @@ -444,7 +444,7 @@ export class Menu { render() { return ([ -