From 16c7e99354ec2c831894fe9a1b16b516989f141f Mon Sep 17 00:00:00 2001 From: barshatr Date: Wed, 18 Oct 2023 17:55:44 +0530 Subject: [PATCH] all the components were getting scrolled when clicked, fix --- ui.frontend/src/view/FormField.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/ui.frontend/src/view/FormField.js b/ui.frontend/src/view/FormField.js index a4b9d9c7d7..c079e35e23 100644 --- a/ui.frontend/src/view/FormField.js +++ b/ui.frontend/src/view/FormField.js @@ -77,11 +77,9 @@ class FormField { setActive() { if (!this.isActive()) { this.element.setAttribute(Constants.DATA_ATTRIBUTE_ACTIVE, true); - this.element.scrollIntoView({ behavior: 'smooth', block: 'start' }); } if (this.parentView && this.parentView.setActive) { this.parentView.setActive(); - this.element.scrollIntoView({ behavior: 'smooth', block: 'start' }); } }