Related to PHP Post Request Refreshes (replit.com). Workaround: enter into the address bar, to disable the devtools wrapper:
javascript:(()=>{let i=document.querySelector("iframe"),{src}=i;i.src=src.slice(6,-31)})()
You could use a user-script browser extension to have this run on your repl’s URL.