aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main
diff options
context:
space:
mode:
authorRevanshu Paliwal <revanshu.paliwal@sonarsource.com>2022-08-10 12:40:48 +0200
committersonartech <sonartech@sonarsource.com>2022-08-10 20:03:08 +0000
commitab278e2be71d8ac0701d6c923903a2488664457a (patch)
tree8801c6eb11524eb25547eb2da61f006ad0fd09e1 /server/sonar-web/src/main
parent31faef20bfadb6c42a7be2c5342ff654fe6549d6 (diff)
downloadsonarqube-ab278e2be71d8ac0701d6c923903a2488664457a.tar.gz
sonarqube-ab278e2be71d8ac0701d6c923903a2488664457a.zip
SONAR-16537 Reverting rule description scroll change to avoid error in rules page
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r--server/sonar-web/src/main/js/components/rules/RuleDescription.tsx3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/components/rules/RuleDescription.tsx b/server/sonar-web/src/main/js/components/rules/RuleDescription.tsx
index 85e8717ec26..a3f29e3b9ff 100644
--- a/server/sonar-web/src/main/js/components/rules/RuleDescription.tsx
+++ b/server/sonar-web/src/main/js/components/rules/RuleDescription.tsx
@@ -171,9 +171,6 @@ export default class RuleDescription extends React.PureComponent<Props, State> {
markdown: isDefault,
'rule-desc': !isDefault
})}
- ref={node => {
- node?.scrollIntoView();
- }}
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{
__html: sanitizeString(sections[0].content)