Project

General

Profile

Defect #43143 » 0003-Change-scrollIntoView-behavior-from-smooth-to-instan.patch

Mizuki ISHIKAWA, 2025-08-21 08:54

View differences:

app/assets/javascripts/application-legacy.js
27 27
  if (el) {
28 28
    el.style.display = ''; // show()
29 29
    if (focus) document.getElementById(focus)?.focus({ preventScroll: true });
30
    el.scrollIntoView({ behavior: 'smooth' });
30
    el.scrollIntoView({ behavior: 'instant' });
31 31
  }
32 32
}
33 33

  
(5-5/5)