Skip to main content
Answered

[Android Device] For Widget component, when keyboard shows up, it refreshes entire Typeform Widget

  • Aug 24, 2023 11:13 AM UTC
  • 4 replies
  • 97 views

[Package Name]
@typeform/embed-react

[Package Version]
2.30.0

[Description]
I built my service on nextjs(13.2.1), react(18.2.0) version.

Widget works perfectly on iPhone, laptop browsers and etc.

But, when I try to answer to a "short sentence", page refreshes automatically on any android devices.

Best answer by mathio-tf

Hello @Liz , this seems to be a duplicate of a recent thread from Github. The issue seems to be due to a re-render on window resize caused by useWindowSize hook.

@scy0334 thank you for raising this. We are reading and replying in both - Github and the Community 😀

View original

4 replies

Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • Aug 24, 2023 2:26 PM UTC

Hi @scy0334 can you share the code you’re using to add the form to your website and the URL?

Tagging @mathio for help as well!


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • Answer
  • Aug 25, 2023 7:40 AM UTC

Hello @Liz , this seems to be a duplicate of a recent thread from Github. The issue seems to be due to a re-render on window resize caused by useWindowSize hook.

@scy0334 thank you for raising this. We are reading and replying in both - Github and the Community 😀


  • Author
  • Explorer
  • Aug 25, 2023 8:46 AM UTC

Yes it is! I’d like to resolve this issue as solved. Is there any other way?

 

Sorry for redundancies


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • Aug 25, 2023 9:32 AM UTC

No worries. Feel free to mark my answer as the best one 😅