[Android Device] For Widget component, when keyboard shows up, it refreshes entire Typeform Widget | Community
Skip to main content
Answered

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


[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
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15014 replies
  • August 24, 2023

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
  • 888 replies
  • Answer
  • August 25, 2023

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
  • 1 reply
  • August 25, 2023

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
  • 888 replies
  • August 25, 2023

No worries. Feel free to mark my answer as the best one πŸ˜…


Reply