docassemble icon indicating copy to clipboard operation
docassemble copied to clipboard

'Back' button is missing from signature page on mobile in vertical mode

Open plocket opened this issue 4 years ago • 3 comments

From what I can see, no 'Back' button appears at the bottom of the signature screen, even when the interview config says to add a 'Back' button to the screens.

plocket avatar Jun 10 '20 12:06 plocket

With this test interview:

features:
  question back button: True
---
mandatory: True
question: Hello
continue button field: intro
---
mandatory: True
question: Sign here
signature: signature
under: John Smith
---
mandatory: True
question: All done

I see this screen:

image

So I am not sure what you are referring to.

jhpyle avatar Jun 10 '20 13:06 jhpyle

Sorry, I was missing a piece of the information. This is specifically in mobile on vertical mode. If configuring the 'Back' button to appear doesn't trigger a back button on that page, how does an interview writer make sure there's a back button on that page?

plocket avatar Jun 11 '20 02:06 plocket

In the same interview when the screen is small, I get this: image

The default behavior for screens under 768px in width is not to include a back button on the signature screen but rather to include a button that lets the user clear the signature area in case they want to redo their signature.

However, if you set question back button: True in features, a back button will be shown in place of the Clear button if the user is otherwise able to go back.

On small screens, the real estate is extremely limited, so there is no room for any additional buttons.

jhpyle avatar Jun 11 '20 11:06 jhpyle