Datepicker text is wrong when returning from other window

DamienHolleyDamienHolley USMember ✭✭

So I have a date picker, then a modal window is pushed on top.

After popping from the modal, the date in my datepicker is scrambled (looks like each character is placed vertically below the previous one). The data is correct when I pull it out so it has not changed the actual value.

Answers

  • JohnHJohnH GBMember ✭✭✭✭✭
    Would be helpful if mention what OS, xamarin version, posted code and a screenshot. Not much else to go on otherwise.
  • DamienHolleyDamienHolley USMember ✭✭
    edited July 2017

    Win10, latest Xam, issue occurring on Android.

    Code is:
    private DatePicker DOB;
    DOB = new DatePicker() { Date = DateTime.Now, Format="dd/MM/yyyy" };

    DOB is then added to a grid.

    Window that covers up is just a pushmodal, once that window drops away the issue raised in the OP occurs.
    instead of 22/07/2017 I get to see the first "2" and maybe the top of the second "2" underneath it.

  • DamienHolleyDamienHolley USMember ✭✭

    still after a reason or workaround for this

  • DamienHolleyDamienHolley USMember ✭✭

    No answer on this even after a year?

  • fabby329fabby329 Member ✭✭

    Could be an emulator related problem, have you tried running on a device or different emulator? I pretty sure I've used modal pages over pages with date pickers and it never occurred to me.

  • DamienHolleyDamienHolley USMember ✭✭

    This is running on the device itself.

Sign In or Register to comment.