Pages jump to Typeform Automatically (unable to disable autofocus) | Community
Skip to main content
Answered

Pages jump to Typeform Automatically (unable to disable autofocus)


In FireFox and Chrome, but not Safari, all my pages with embedded Typeforms are suddenly jumping down to the Typeform automatically.  

I’ve attempted to disable autofocus using the instructions on this page (adding data-tf-disable-autofocus to the embed code) but it has no effect, even after clearing my browser cache and/or testing in an incognito/private browser window.

I see about a month ago there was a post about the same issue.  It was attributed to a glitch that was fixed on Typeform’s side, but it now appears to be happening again.

Best answer by mathio-tf

Hello, correct attribute name is not data-tf-disable-autofocus but data-tf-disable-auto-focus (note the extra dash). You can find up-to-date docs for embed lib in Github.

I will raise this with the team responsible for the help page.

View original

11 replies

  • Author
  • Explorer
  • 1 reply
  • August 31, 2022

Is this the correct method for reporting these types of issues?  It just occurred to me this forum might truly just be for community discussion and not engaging with the support team itself.


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5268 replies
  • September 1, 2022

you can raise  a support ticket with Typeform at this link @505Desk 

 

des


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • Answer
  • September 2, 2022

Hello, correct attribute name is not data-tf-disable-autofocus but data-tf-disable-auto-focus (note the extra dash). You can find up-to-date docs for embed lib in Github.

I will raise this with the team responsible for the help page.


Álvaro Granado

How can I solve this same issue in videoask?


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • September 26, 2022

Good question. @Liz do you know who could answer this?


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14893 replies
  • September 26, 2022

@Grace or @andrew_videoask may be able to help you!


andrew_videoask
Typeform
Forum|alt.badge.img+5

Hi @Álvaro Granado, can you share a live webpage where you’re experiencing this issue?

What operating system and browser are you using?


Hi everyone, can you help me?

On this page: https://box.humamy.com/pages/piatti-pronti-in-5-minuti-form I have issues withthe form embed in desktop version.

It automatically scroll to the typeform.

I do not want this to happen


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14893 replies
  • October 19, 2022

Hi @SensualDanceFit I’ve added your post here where we have the solution. I noticed that you almost have the disable parameter correct, but it’s combined with styling on the form. You will need to add the solution exactly as listed above. 


Thank you @Liz , I’m not familiar with code. 

Please, can you modify the script for me? 

Now is this:

 

<div data-tf-widget="pbitm-id-78" data-tf-disable-auto-focus></div>

<iframe  style="width:100%;max-width:500px;height:705px; overflow: hidden" frameborder="0" scrolling="no" seamless="seamless"  data-tf-disable-auto-focus attribute
src="https://form.typeform.com/to/um31ZY1Z"></iframe>


  • Explorer
  • 2 replies
  • October 15, 2023

I have a WIP page at https://new-bound-site.super.site/contact. It is a notion.so site in super.so, so it implements the share URL (not the full embed code) in a Tyepform content block.
-
Even though auto-focus is turned off in advanced settings within Typeform the auto-focus persists on the WIP site.
-
Is there another setting or remedy if implementing only the share URL and not the full embed code? The full embed code causes an error in super.so. TY.


Reply