Submit "Occurrences" modal form scrolls page to "Save" button of a node

Created on 30 November 2021, almost 3 years ago
Updated 8 March 2023, over 1 year ago

Problem/Motivation

When a user clicks the "Show/exclude occurrences" button, the modal "Occurrences" dialog id opening. And when a user submits a modal dialog, the page is jumping to the "Save" button of the node.

Steps to reproduce

Install Drupal with Standart profile.
Enable "date_recur_modular" module.
Add a field with the Siera widget (I didn't test others, but maybe the same for the rest).

Screenshots:
Open a modal https://monosnap.com/file/dXL9QC4rZMjl4pI280i7ooHm2gXplt
Submit the modal https://monosnap.com/file/KgW3P0fXD1986J09uQWpprGkee2a9x
The form jumped https://monosnap.com/file/Xk5Z0DsaRHZD9EmTUkfbqORST9s4DC

Proposed resolution

Add 'disable-refocus' => TRUE to DateRecurModularSierraModalOccurrencesForm form.

User interface changes

No

API changes

No

Data model changes

No

πŸ“Œ Task
Status

Fixed

Version

3.1

Component

User interface

Created by

πŸ‡ΊπŸ‡¦Ukraine Ruslan Piskarov Kiev, Ukraine

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