| 565 | let navigationTimer = null; |
| 566 | // offsetTop can be relative to the dialog rather than the scrolling panel. |
| 567 | const sectionTop = section => section.getBoundingClientRect().top |
| 568 | - panel.getBoundingClientRect().top + panel.scrollTop - panel.clientTop; |
| 569 | const releaseNavigationTarget = function () { |
| 570 | clearTimeout(navigationTimer); |
| 571 | navigationTimer = setTimeout(() => { navigationTarget = null; }, 150); |
no outgoing calls
no test coverage detected