[Webform Share] Scroll to top doesn't work for multi step form embedded in iFrame when clicking of Previous/Next

Created on 19 January 2023, almost 2 years ago
Updated 8 April 2024, 9 months ago

Problem/Motivation

The module works great and have been using this for quite a while. I have recently created a multi step form and am embedding it into a different website using iFrame. On clicking of Previous/Next buttons, the scroll to top feature doesn't seem to be working. I have checked the settings and is enabled. It works fine when not embedded in iFrame though. This is quite important for us, because some of the form pages are quite long and the page is stuck at the bottom of the form on the next page.

Steps to reproduce

- Create a multistep form
- Embed it into another site using iFrame sharing.
- Click on Previous/Next on the multi step form.

Proposed resolution

The page should be scrolled back to the top of the form on clicking Previous/Next buttons

πŸ› Bug report
Status

Needs work

Version

6.2

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia amarshkhl09

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024