Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Android] Changing from Portrait to Landspace while the calendar is open causes MinimumDate and MaximumDate to be visually ignored #2315

Closed
PureWeen opened this issue Apr 6, 2018 · 0 comments · Fixed by #4190

Comments

@PureWeen
Copy link
Contributor

PureWeen commented Apr 6, 2018

Description

var datePicker = new DatePicker { AutomationId = "datePicker" };
datePicker.MinimumDate = new DateTime (2015, 1, 1);
datePicker.MaximumDate = new DateTime (2015, 5, 31);
  • Click the TextBox to open the calendar
  • Rotate the phone to go from Portrait to Landspace

Now you'll be able to scroll the calendar outside the date ranges of Min/Max
You're not able to actually select anything outside those ranges but it now looks like you can

Steps to Reproduce

  • Run Issue2987 in the Android Control Gallery
  • click the box to open the calendar
  • Rotate the phone

Expected Behavior

When going from Portrait to Landscape the visibly selectable dates shouldn't change

Actual Behavior

When going from Portrait to Landscape you can now scroll outside the Max/Min range

Basic Information

  • Version with issue: 2.5.1 SR1
  • Last known good version: Not sure
@pauldipietro pauldipietro added this to New in Triage Apr 6, 2018
@PureWeen PureWeen moved this from New to Ready For Work in Triage Apr 6, 2018
@samhouts samhouts added the e/3 🕒 3 label Oct 15, 2018
@samhouts samhouts removed this from Ready For Work in Triage Oct 16, 2018
AndreiMisiukevich added a commit to AndreiMisiukevich/Xamarin.Forms that referenced this issue Oct 23, 2018
@samhouts samhouts added this to In Progress in v3.6.0 Oct 23, 2018
Android Ready For Work automation moved this from To do to Done Nov 5, 2018
rmarinho pushed a commit that referenced this issue Nov 5, 2018
@PureWeen PureWeen moved this from In Progress to Done in v3.6.0 Nov 6, 2018
@samhouts samhouts removed this from Done in v3.6.0 Jan 3, 2019
@samhouts samhouts added this to In Progress in v3.5.0 Jan 11, 2019
@samhouts samhouts moved this from In Progress to Done in v3.5.0 Jan 11, 2019
@samhouts samhouts removed this from Done in Android Ready For Work May 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
v3.5.0
  
Done
2 participants