Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300903

Action buttons unresponsive when coming back from node preview

$
0
0

Problem/Motivation

If this is a known issue I can't find it...

In my testing Chrome behaves fine. Firefox and Safari do not behave as I would expect.

If I click the Preview button from a node/[add|edit] page and then click the browser's Back Button (or equivalent keyboard shortcut) from that Preview page to return to the node/[add|edit] page, both the Save and Preview buttons will be unresponsive.

Oddly, if I navigate to any other page from the node/[add|edit] page, either via a link in browser, bookmark menu item, or manually typing a new address into the address bar and then use the browser's back button from there, the Save and Preview buttons will submit the form as expected.

Steps to reproduce

Standard Drupal install with "Preview before submitting" set to either "Optional" or "Required" for Basic Page
Replicated on Drupal 10.3.2 on simplytest.me (Getting build failures with 11.x there at the moment)
Firefox version 129.0
Safari version 17.6
macOS version 14.6 Sonoma
Also replicated on a co-worker's mac with different specs

Proposed resolution

Considering that Chrome works fine in my testing and that the buttons only appear to break when coming back from this one preview page, I have to believe that this is something that could, and should be fixed in core.


Viewing all articles
Browse latest Browse all 300903

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>