[GH-ISSUE #604] [Bug] Cancel button does nothing #165

Closed
opened 2026-02-26 18:45:40 +03:00 by kerem · 3 comments
Owner

Originally created by @Abhinav-Developer-23 on GitHub (Oct 29, 2023).
Original GitHub issue: https://github.com/documenso/documenso/issues/604

Originally assigned to: @Abhinav-Developer-23 on GitHub.

Cancel Button on the document signing page does nothing

Steps to Reproduce

  1. Go to the received mail for document signing
  2. Open the link
  3. Click on cancel.

Expected Behavior

It should close the page

Current Behavior

Nothing happens

Screenshots (optional)

https://github.com/documenso/documenso/assets/145282438/a7b01d49-3a3d-4347-b4e6-12f9e7172da4

Environment

  • OS: Ubuntu
  • Browser: Chrome

Checklist

  • I have searched the existing issues to make sure this is not a duplicate.
  • I have provided steps to reproduce the issue.
  • I have included relevant environment information.
  • I have included any relevant screenshots.
  • I understand that this is a voluntary contribution and that there is no guarantee of resolution.
Originally created by @Abhinav-Developer-23 on GitHub (Oct 29, 2023). Original GitHub issue: https://github.com/documenso/documenso/issues/604 Originally assigned to: @Abhinav-Developer-23 on GitHub. Cancel Button on the document signing page does nothing ## Steps to Reproduce 1. Go to the received mail for document signing 2. Open the link 3. Click on cancel. ## Expected Behavior It should close the page ## Current Behavior Nothing happens ## Screenshots (optional) https://github.com/documenso/documenso/assets/145282438/a7b01d49-3a3d-4347-b4e6-12f9e7172da4 ## Environment <!--- Please provide information about your environment, such as operating system, browser, version, etc. --> - OS: Ubuntu - Browser: Chrome ## Checklist - [x] I have searched the existing issues to make sure this is not a duplicate. - [x] I have provided steps to reproduce the issue. - [x] I have included relevant environment information. - [x] I have included any relevant screenshots. - [x] I understand that this is a voluntary contribution and that there is no guarantee of resolution.
kerem 2026-02-26 18:45:40 +03:00
Author
Owner

@Abhinav-Developer-23 commented on GitHub (Oct 29, 2023):

I can work on this

<!-- gh-comment-id:1784120284 --> @Abhinav-Developer-23 commented on GitHub (Oct 29, 2023): I can work on this
Author
Owner

@Mythie commented on GitHub (Oct 30, 2023):

Hey there, we had handling for this by checking the history length on window.history but it seems as though this isn't super reliable:

image

Based on our code and handling the button should be disabled, my guess is this might be a security feature built into chrome to prevent history snooping.

<!-- gh-comment-id:1784488826 --> @Mythie commented on GitHub (Oct 30, 2023): Hey there, we had handling for this by checking the history length on `window.history` but it seems as though this isn't super reliable: <img width="871" alt="image" src="https://github.com/documenso/documenso/assets/13398220/4430598d-e99a-48ad-9d08-625f4f09082f"> Based on our code and handling the button should be disabled, my guess is this might be a security feature built into chrome to prevent history snooping.
Author
Owner

@catalinpit commented on GitHub (Oct 30, 2023):

I can work on this

Assigned it to you.

<!-- gh-comment-id:1785109749 --> @catalinpit commented on GitHub (Oct 30, 2023): > I can work on this Assigned it to you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#165
No description provided.