You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-5Lines changed: 22 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -84,13 +84,17 @@ Just include directly the `NestedScrollWebView` in your layout:
84
84
85
85
## Configuration
86
86
87
+
Utility methods for specific WebView content requirements.
88
+
89
+
### Adjust WebView bottom margin to match CoordinatorLayout visible space
90
+
87
91
When expanding toolbar inside a CoordinatorLayout, instead of resizing the space left by the toolbar, it pushes down the content below.
88
92
89
93
This may be an issue for example for pages where a fixed footer element is displayed. So, in order to correctly resize the webview viewport on these expands you can add this attribute to the NestedScrollWebView.
If your WebView content includes scrollable elements such as horizontal carousels or map views, nested scrolling should not be performed when scrolling these.
## Known issues, considerations and Future improvements
125
+
## How we do it?
109
126
110
-
* As implementation relies on NestedScrollView touch events interception, in cases there are web content elements that intercept movement events, for example a map view or a horizontal carousel, these movement events will be interpreted also as scrolling events for nested scrolling. We are thinking on a solution to prevent this.
0 commit comments