Commit 90438f49 authored by matthew.mogford's avatar matthew.mogford

Added id’s to main div’s for css access in certain situations

parent 80e73164
...@@ -190,7 +190,7 @@ export class PullToRefresh extends React.Component<PullToRefreshProps, PullToRef ...@@ -190,7 +190,7 @@ export class PullToRefresh extends React.Component<PullToRefreshProps, PullToRef
visibility: startInvisible ? "hidden" : "visible", visibility: startInvisible ? "hidden" : "visible",
}; };
return ( return (
<div style={contentStyle} ref={this.pullDownRef}> <div id="ptr-pull-down" style={contentStyle} ref={this.pullDownRef}>
{content} {content}
</div> </div>
); );
...@@ -211,9 +211,9 @@ export class PullToRefresh extends React.Component<PullToRefreshProps, PullToRef ...@@ -211,9 +211,9 @@ export class PullToRefresh extends React.Component<PullToRefreshProps, PullToRef
} }
return ( return (
<div style={containerStyle}> <div id="ptr-parent" style={containerStyle}>
{this.renderPullDownContent()} {this.renderPullDownContent()}
<div ref={this.containerRef} style={containerStyle}> <div id="ptr-container" ref={this.containerRef} style={containerStyle}>
{this.props.children} {this.props.children}
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment