GithubHelp home page GithubHelp logo

Comments (4)

gtbuchanan avatar gtbuchanan commented on August 14, 2024

Same thing happens on iOS. My workaround is to clear the signature on orientation change so I don't end up with an off-screen signature.

from signaturepad.

Vladis466 avatar Vladis466 commented on August 14, 2024

Im seeing the same issue.

Howeever when navigating to and from the signaturepage (changing from portrait and landscape and back) the behavior I get is the following:

The UI appears as it would in landscape but the overall app appears in portrait (so approximately half the app does not appear on the screen).

from signaturepad.

Vladis466 avatar Vladis466 commented on August 14, 2024

So I found an interesting work around. I'm using native messaging center to force the portrait landscape thing and this bug would keep occurring no matter where I called it from (primarily using OnAppearing()).

However the UI would fix itself after an action, such as moving to a tabbed view. I was able to get around the UI landscape/portrait bugout by calling the forceLandscape or forcePortrait from my viewmodel before popping/pushing the new page.

Example below:
MessagingCenter.Send((Views.SignaturePage)Navigation.NavigationStack[Navigation.NavigationStack.Count - 1], "forcePortrait");
For this to work you need to get ahold of the current page casted to the correct type. (I exploited the fact that I am passing the navigation to my VM).

from signaturepad.

sk1llsh0t avatar sk1llsh0t commented on August 14, 2024

Any update on this? If a signature was taken in landscape and the device rotates to portrait, the signature gets chopped.

from signaturepad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.