Skip to content

Commit

Permalink
Merge pull request #1006 from IBMa/joho-checkerlosingviewswitcher-1005
Browse files Browse the repository at this point in the history
Fixing scrolling issue for checker view after help view
  • Loading branch information
ErickRenteria authored Jul 21, 2022
2 parents 7a576ad + 6175d82 commit 6224bba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions accessibility-checker-extension/src/ts/devtools/ReportRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export default class ReportRow extends React.Component<IReportRowProps, IReportR
return <React.Fragment>
{!this.props.focusedViewFilter || (focusedView && (item.selected || item.selectedChild)) ?
(this.props.dataFromParent[0] || this.props.dataFromParent[1] && val === "Violation" || this.props.dataFromParent[2] && val === "Needs review" || this.props.dataFromParent[3] && val === "Recommendation") ?
(<div ref={this.itemSelectedRef(item)}>
(
<Grid data-tip data-for={item.selected ? "selectedTip" : "selectedChildTip" } tabIndex={0} role="row" style={{cursor:'pointer'}} aria-rowindex={++rowindex} aria-selected={!!item.selected} className={"itemDetail"+(item.selected ? " selected": "")+(item.selectedChild ? " selectedChild": "")} onClick={(event: any) => this.itemSelectedClickHandler(event, item)} onKeyDown={this.onKeyDown.bind(this)}>
<Column sm={{span: 4}} md={{span: 8}} lg={{span: 16}} role="cell" style={{paddingLeft:"28px"}}>
<div className="itemMessage" style={{paddingLeft:"4px"}}>
Expand Down Expand Up @@ -265,7 +265,7 @@ export default class ReportRow extends React.Component<IReportRowProps, IReportR
</div>
</Column>
</Grid>
</div>)
)
: ""
: "" }

Expand Down

0 comments on commit 6224bba

Please sign in to comment.