OpenSign icon indicating copy to clipboard operation
OpenSign copied to clipboard

[Bug]: Signature box automatically expands when using 'Type' signature

Open mbasaran opened this issue 1 year ago • 4 comments

Issue Description

When a user selects the “Type” option to provide a signature, the signature box expands beyond the expected size, causing misalignment or layout issues. This behavior does not occur when the user opts to draw their signature.

Expected Behavior

The signature box should retain a consistent size, regardless of whether the signature is typed or drawn.

Image Image Image

Current Behavior

The box enlarges when “Type” is used, causing potential layout and display issues.

Image Image Image

Steps to reproduce

1.	Open the signature input section.
2.	Select the “Type” signature option.
3.	Observe that the signature box automatically expands beyond the desired size.

Screenshots of the issue(optional)

No response

Operating System [e.g. MacOS Sonoma 14.1, Windows 11]

MacOS

What browsers are you seeing the problem on?

Safari, Chrome

What version of OpenSign™ are you seeing this issue on? [e.g. 1.0.6]

Cloud version - https://sandbox.opensignlabs.com/

What environment are you seeing the problem on?

Production (app.opensignlabs.com)

Please check the boxes that apply to this issue report.

  • [x] I have searched the existing issues & discussions to make sure that this is not a duplicate.

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct
  • [x] I have searched the existing issues & discussions to make sure that this is not a duplicate.

mbasaran avatar Mar 07 '25 17:03 mbasaran

Have you tried resizing the typed signature by dragging the bottom-right corner? The system applies a default font size for typed signatures by default, but signers can adjust it as needed. We designed it this way because each person’s signature can be different in length, and a static size might end up looking too small for some. By letting the creator fix the signature’s position while giving signers the freedom to set its size, we ensure everyone can tailor their signature comfortably.

What do you think about this approach? Personally, I believe it strikes a great balance between usability and customization.

nxglabs avatar Mar 08 '25 07:03 nxglabs

Yes, I can resize the signature on a PC, but it’s very challenging to do so on a mobile device. As the template creator, I’d like to define a size that fits the document by default, so users can sign easily without having to resize. It’s still beneficial to allow manual resizing, but the default size and behavior for both “Draw” and “Type” signatures should match what the creator has set, IMO.

mbasaran avatar Mar 08 '25 07:03 mbasaran

Should we create a poll for this under discussions? What do you think?

https://github.blog/changelog/2022-04-12-discussions-polls/

andrew-opensignlabs avatar Mar 08 '25 17:03 andrew-opensignlabs

Also it may be a good idea to have options for signature widget to set the default font size and color?

{
          "type": "signature",
          "page":1, "x": 32, "y": 285, "w": 177, "h": 12
          "options": {
                "color": "black",
                "fontsize": 12
            }
 }

mbasaran avatar Mar 08 '25 17:03 mbasaran