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
visibility: startInvisible ? "hidden" : "visible",
};
return (
<div style={contentStyle} ref={this.pullDownRef}>
<div id="ptr-pull-down" style={contentStyle} ref={this.pullDownRef}>
{content}
</div>
);
......@@ -211,9 +211,9 @@ export class PullToRefresh extends React.Component<PullToRefreshProps, PullToRef
}
return (
<div style={containerStyle}>
<div id="ptr-parent" style={containerStyle}>
{this.renderPullDownContent()}
<div ref={this.containerRef} style={containerStyle}>
<div id="ptr-container" ref={this.containerRef} style={containerStyle}>
{this.props.children}
</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