# Table of Contents working on Desktop, but not Mobile

**URL:** <https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776>\
**Category:** General\
**Created:** [August 11, 2023, 9:34pm UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776 "2023-08-11T21:34:08Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![leary.keegan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/leary.keegan/32/197_2.png) [@leary.keegan](https://forum.finsweet.com/u/leary.keegan)\
**Post date:** [August 11, 2023, 9:34pm UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/1 "2023-08-11T21:34:08Z")

</div>

I’m using Table of Contents and it’s working fine on desktop but not on mobile.

Live: [https://toc-testing.webflow.io/](https://toc-testing.webflow.io/)

Preview: [Webflow - ToC Testing](https://preview.webflow.com/preview/toc-testing?utm_medium=preview_link&utm_source=designer&utm_content=toc-testing&preview=bce1db96ecea5c460303c5d184ebaf5e&workflow=preview)

I put the fs-toc-element=“link” attr on the heading in this example. When using the attributes debugger it said I should move it to link block element (which is against what the documentation says).

Anyway, I tried moving the fs-toc-element=“link” attribute from the heading div to the link block div but that didn’t work either.

A client of mine is having the same issue on a different project.

I’m viewing on mobile with iPhone, chrome browser. I loaded up Safari because I can inspect console from my Macbook there and get this error:

`Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 't[r].closest')`

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [August 14, 2023, 7:54pm UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/2 "2023-08-14T19:54:23Z")

</div>

hey @leary.keegan! I can’t seem to replicate this issue. Can you please share a recording or image on how to get this error?

---

<div class="post-metadata">

**Author:** ![tregubov.design](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/tregubov.design/32/5064_2.png) [@tregubov.design](https://forum.finsweet.com/u/tregubov.design)\
**Post date:** [September 24, 2023, 3:02pm UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/3 "2023-09-24T15:02:10Z")

</div>

Hi @Support-Luis 👋 I’m also noticed, that on Mobile (device) ToC is not works (just showing first element):

 ![IMG_7999](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/a/acf1266a56579a5491e7a815ec2874591b448ab5.png)

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [September 25, 2023, 10:26am UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/4 "2023-09-25T10:26:38Z")

</div>

Hey @tregubov.design! Which iOS are you on? I am testing on iOS 16 and both Safari and Chrome are working as expected

---

<div class="post-metadata">

**Author:** ![tregubov.design](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/tregubov.design/32/5064_2.png) [@tregubov.design](https://forum.finsweet.com/u/tregubov.design)\
**Post date:** [September 25, 2023, 10:27am UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/5 "2023-09-25T10:27:05Z")

</div>

> [@Support-Luis](#):
>
> and

17.0.1😊

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [September 25, 2023, 10:27am UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/6 "2023-09-25T10:27:24Z")

</div>

I am updating at the moment! I’ll report back!

---

<div class="post-metadata">

**Author:** ![hello18](https://avatars.discourse-cdn.com/v4/letter/h/8dc957/32.png) [@hello18](https://forum.finsweet.com/u/hello18)\
**Post date:** [September 27, 2023, 5:49pm UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/7 "2023-09-27T17:49:48Z")

</div>

Found this forum post as I’m having the same issue right now. I cannot replicate the issue on my end (or anyone else I’ve asked), but the client consistently sees a broken TOC. Any update here on what could be causing this on mobile and not desktop?

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [September 27, 2023, 6:51pm UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/8 "2023-09-27T18:51:00Z")

</div>

Hey @hello18! No update at the moment. The ticket is still open

---

<div class="post-metadata">

**Author:** ![neilr.manalo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/neilr.manalo/32/702_2.png) [@neilr.manalo](https://forum.finsweet.com/u/neilr.manalo)\
**Post date:** [October 3, 2023, 2:55pm UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/9 "2023-10-03T14:55:02Z")

</div>

Same here, it is working on Chromium browser but not on safari even on desktop

---

<div class="post-metadata">

**Author:** ![zach](https://avatars.discourse-cdn.com/v4/letter/z/51bf81/32.png) [@zach](https://forum.finsweet.com/u/zach)\
**Post date:** [October 10, 2023, 4:56pm UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/10 "2023-10-10T16:56:30Z")

</div>

I am also having this issue of the ToC not working on touch screen devices. It only shows the first H2

---

<div class="post-metadata">

**Author:** ![hello8](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/hello8/32/742_2.png) [@hello8](https://forum.finsweet.com/u/hello8)\
**Post date:** [October 12, 2023, 9:38am UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/11 "2023-10-12T09:38:51Z")

</div>

@Support-Luis I also get a weird scroll effect happening on mobile for table of contents attribute:

You can [[**see the video here**]](https://vimeo.com/873649196?share=copy)

See [**[read-only link here]**](https://preview.webflow.com/preview/filenote-ai?utm_medium=preview_link&utm_source=designer&utm_content=filenote-ai&preview=ebaed49852e652eaa02de801ea1748ab&pageId=651956c8b8c5579294e6605c&workflow=preview)

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [October 12, 2023, 12:24pm UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/12 "2023-10-12T12:24:59Z")

</div>

hey @hello8! Is this also on iOS 17?

---

<div class="post-metadata">

**Author:** ![hello8](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/hello8/32/742_2.png) [@hello8](https://forum.finsweet.com/u/hello8)\
**Post date:** [October 18, 2023, 8:39am UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/13 "2023-10-18T08:39:46Z")

</div>

iOS 16.6.1 @Support-Luis

[Live link](https://filenote-ai.webflow.io/privacy-security)

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [October 24, 2023, 11:49am UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/14 "2023-10-24T11:49:17Z")

</div>

@hello8, a fix has been pushed last week. Can you let me know if this issue still persists?

---

<div class="post-metadata">

**Author:** ![arthur.xuan.vu](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/arthur.xuan.vu/32/864_2.png) [@arthur.xuan.vu](https://forum.finsweet.com/u/arthur.xuan.vu)\
**Post date:** [October 25, 2023, 2:29pm UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/15 "2023-10-25T14:29:38Z")

</div>

Hi @Support-Luis ,

I have the same issue too between links not being displayed in Safari.

I have even tried it with the Finsweet demo page with instructions and I got a different version too between Chrome and Safari.

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [October 26, 2023, 9:52am UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/16 "2023-10-26T09:52:40Z")

</div>

@arthur.xuan.vu, is this also on mobile?

---

<div class="post-metadata">

**Author:** ![arthur.xuan.vu](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/arthur.xuan.vu/32/864_2.png) [@arthur.xuan.vu](https://forum.finsweet.com/u/arthur.xuan.vu)\
**Post date:** [October 26, 2023, 2:10pm UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/17 "2023-10-26T14:10:50Z")

</div>

Hi @Support-Luis , yes.

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [October 27, 2023, 11:12am UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/18 "2023-10-27T11:12:13Z")

</div>

@arthur.xuan.vu can you share a link?

---

<div class="post-metadata">

**Author:** ![leonardo.cipriano](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/leonardo.cipriano/32/1775_2.png) [@leonardo.cipriano](https://forum.finsweet.com/u/leonardo.cipriano)\
**Post date:** [December 4, 2023, 9:13pm UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/19 "2023-12-04T21:13:26Z")

</div>

I’m encountering a similar issue on both my laptop and mobile devices. Specifically, certain items in the Table of Contents are not displaying when I use Safari.

Any updates on this matter?  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![leonardo.cipriano](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/leonardo.cipriano/32/1775_2.png) [@leonardo.cipriano](https://forum.finsweet.com/u/leonardo.cipriano)\
**Post date:** [December 4, 2023, 9:19pm UTC](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776/20 "2023-12-04T21:19:58Z")

</div>

@Support-Luis just making sure you see this 🙂 sorry to bother

[Next page](https://forum.finsweet.com/t/table-of-contents-working-on-desktop-but-not-mobile/1776.md?page=2)
