Skip to content

Bug fix: bug fix for issue #10 Unable to scroll after successful upload#16

Open
Ekaji wants to merge 1 commit intobubbaspaarx:masterfrom
Ekaji:bug_fix_for_Unable_to_scroll_after_successful_upload
Open

Bug fix: bug fix for issue #10 Unable to scroll after successful upload#16
Ekaji wants to merge 1 commit intobubbaspaarx:masterfrom
Ekaji:bug_fix_for_Unable_to_scroll_after_successful_upload

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