Skip to content

Conversation

@Ekaji
Copy link

@Ekaji Ekaji commented Oct 1, 2022

The cause of this issue is style="overflow: hidden;" which is added to the body when the widget button is clicked and the iframe created is not removed when the widget.destroy() function is called, to fix this i replaced
destroy && widget.destroy() with destroy && widget.destroy().then(() => { document.body.style.removeProperty('overflow'); }); in functions/myWidget.js on lines 77 and lines 84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant