Table of Contents not working on mobile
-
I use Twentig with Twenty Twenty Two. I have a strange issue happening with any table of contents plugin that I use. I have tried at least three different ones and get similar results with all of them.
The table of contents works fine on desktop using any of the plugins. (Two plugins provide blocks. One provides a short code that I place with the short code block.)
On mobile, the table of contents is present, but in every case all of the links act as they are null links.
With one plugin, clicking a link in the TOC will cause a little jump about 1/2 line high.
With the second plugin, clicking any link in the TOC results in the page immediately scrolling straight to the top, rather than down the appropriate heading.
With the third plugin, nothing happens except the normal font color change when hovering or clicking.
Any idea what might be causing this?
Again, any of the TOCs work exactly as expected on desktop. All misbehave on mobile.
Thanks.
- The topic ‘Table of Contents not working on mobile’ is closed to new replies.