Remove auto-scroll on Gantt bar hover
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
bca0cd2727
commit
57054bb1bd
1 changed files with 0 additions and 5 deletions
|
|
@ -236,11 +236,6 @@ tr.conf-hl > td {
|
|||
|
||||
function setHighlight(key, on) {
|
||||
(map.get(key) || []).forEach(el => el.classList.toggle('conf-hl', on));
|
||||
// When hovering a Gantt bar, scroll the matching table row into view
|
||||
if (on) {
|
||||
const row = (map.get(key) || []).find(el => el.tagName === 'TR');
|
||||
if (row) row.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
|
||||
}
|
||||
}
|
||||
|
||||
map.forEach((els, key) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue