After much fumbling and fretting, the only "trick" I've found in getting it
to work was adding "touch-action:none" very precisely in the css. If I put it
around the whole table then you couldn't scroll away once you scroll the
table into view, so it had to be just on the "TD" element that I wanted to
manipulate. I had to learn and use the :has() whachacallit (pseudoclass?).