Closed SeanMarkWD closed 4 months ago
ensure that the highlighted word stays above the fold and is always visible in the display box, we need to update the scrolling behavior of the textDisplay element. We can achieve this by using the scrollIntoView method for the highlighted word.
We can achieve this by using the scrollIntoView method for the highlighted word.
ensure that the highlighted word stays above the fold and is always visible in the display box, we need to update the scrolling behavior of the textDisplay element. We can achieve this by using the scrollIntoView method for the highlighted word.