Skip to main content
Answered

Embed not working in React on mobile

  • Mar 11, 2022 2:22 AM UTC
  • 4 replies
  • 384 views

I am using typeform react embed library and it is working great in my app when testing on desktop.  I test in both desktop and mobile views on chrome.

When I then load my app on my iPhone the form does not work. The Sidetab appears but when clicked only the “X” shows up. 

 

NOTE: this issue happens when normally embedding typeform in html as well. 

 

 

Please help!!

 


 

 

Best answer by anujshah

Hi Liz - the issue was that typeform doesn’t whitelist localhost on mobile browsers so that is why the form was blocked in the iframe. 

 

View original

4 replies

Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • Mar 11, 2022 7:07 PM UTC

Hi @anujshah Welcome to the community! Do you have the form public anywhere so we can test it or access to the code somewhere so we can take a look? 


  • Author
  • Explorer
  • Answer
  • Mar 14, 2022 1:49 PM UTC

Hi Liz - the issue was that typeform doesn’t whitelist localhost on mobile browsers so that is why the form was blocked in the iframe. 

 


Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • Mar 14, 2022 3:44 PM UTC

Ah, thanks for letting us know, @anujshah ! 


Gabi Amaral
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Mar 15, 2022 9:34 AM UTC

@anujshah Yes, thank you for letting us know. How did you find out this was the issue?