lilcodelab / Xamarin.Plugin.Calendar

Calendar plugin for Xamarin.Forms
MIT License
260 stars 60 forks source link

[Bug] Calendar hiding when loaded #33

Closed maniakalen closed 4 years ago

maniakalen commented 4 years ago

Describe the bug The Calendar disappears once the page is loaded.

To Reproduce Steps to reproduce the behavior:

  1. Initialize the calendar

Screenshots imagen

Version information: PackageReference Include="Xamarin.Forms" Version="4.5.0.356" PackageReference Include="Xamarin.Essentials" Version="1.5.0" PackageReference Include="Xamarin.Plugin.Calendar" Version="1.1.925"

chbjh commented 4 years ago

I am seeing the same issue. The calendar days flash up very briefly during initial load, but then they disappear just like in the screenshot @maniakalen provided.

tdamir commented 4 years ago

Same problem here. If you set MinimumDate and MaximumDate properties, then calendar is showing.

Edit: it looks like DayTappedCommand property is required. If not set, then calendar is hidden.

chbjh commented 4 years ago

I can confirm that just setting the DayTappedCommand property seems to fix this issue, as @tdamir stated.

maniakalen commented 4 years ago

If this is not a bug at least this requirement should be mentioned in the documentation, right?

chbjh commented 4 years ago

@maniakalen I can't see how this isn't a bug. This is definitely a bug.

I can also confirm this did not happen in an older version (1.0.3.200).

eramrit78 commented 4 years ago

I have same issue in forms 4.5.

antonioseric commented 4 years ago

we will fix bug in next few days. Thank you for reporting.

antonioseric commented 4 years ago

It will be fixed in next version.