yurkinh / Plugin.Maui.Calendar

.NET MAUI port of XF calendar plugin
MIT License
108 stars 11 forks source link

Selected date not marked on calendar #30

Closed TomaszZakrzewski closed 4 months ago

TomaszZakrzewski commented 5 months ago

Hello.

I have a problem with my simple implementation of the calendar. I am binding a date to the SelectedDate property and i get the selected date in the footer section but the selected date is not marked on the calendar itself. The selection on the calendar only happens when i click on a date. I also tried to bind the property ShownDate to my date property but with no result.

Screenshot_1707420405

yurkinh commented 5 months ago

Hi @TomaszZakrzewski Thanks for reporting an issue. Looks like a problem with binding. I will take a look at it

yurkinh commented 5 months ago

@TomaszZakrzewski As a temporary workaround I can suggest you to force Two Way binding mode SelectedDate={Binding SelectedDate, Mode=TwoWay} I was able to reproduce this issue and will check how to fix it

TomaszZakrzewski commented 5 months ago

Thank you @yurkinh

I will test this solutions and get back to you.

yurkinh commented 4 months ago

Hi @TomaszZakrzewski Check please the latest v1.1.2 nuget version. It contains fix for the mentioned issue