Skip to content

Commit

Permalink
Add styles when using useWindowScroll={true} (#238)
Browse files Browse the repository at this point in the history
* MOBILEWEB-161 | Removed unnecessary files, blank branch to start out new project from

* Add missing styling props
  • Loading branch information
tafelito authored and naqvitalha committed Aug 24, 2018
1 parent e0ccb2e commit 8f248b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/web/scrollcomponent/ScrollViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default class ScrollViewer extends BaseScrollView {
</div>
: <div
ref={this._setDivRef}
style={{ position: "relative" }}>
style={{ position: "relative", ...this.props.style }}>
{this.props.children}
</div>;
}
Expand Down

0 comments on commit 8f248b9

Please sign in to comment.