mirror of
https://github.com/usebruno/bruno.git
synced 2025-06-25 06:21:57 +02:00
chore: disabling smooth scroll in env vars view
This commit is contained in:
parent
4d820af4e0
commit
641f261733
@ -88,7 +88,9 @@ const EnvironmentVariables = ({ environment, collection, setIsModified, original
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (formik.dirty) {
|
if (formik.dirty) {
|
||||||
addButtonRef.current?.scrollIntoView({ behavior: 'smooth' });
|
// Smooth scrolling to the changed parameter is temporarily disabled
|
||||||
|
// due to UX issues when editing the first row in a long list of environment variables.
|
||||||
|
// addButtonRef.current?.scrollIntoView({ behavior: 'smooth' });
|
||||||
}
|
}
|
||||||
}, [formik.values, formik.dirty]);
|
}, [formik.values, formik.dirty]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user