Embed not working in React on mobile | Community
Skip to main content
Answered

Embed not working in React on mobile


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
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14923 replies
  • March 11, 2022

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
  • 1 reply
  • Answer
  • March 14, 2022

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
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14923 replies
  • March 14, 2022

Ah, thanks for letting us know, @anujshah ! 


Gabi Amaral
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • 1777 replies
  • March 15, 2022

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


Reply