lilcodelab / Xamarin.Plugin.Calendar

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

[Bug] Swipe to change month not working in Master Detail Page #69

Closed housecode closed 3 years ago

housecode commented 3 years ago

Just embed AdvancedPage sample to Detail of MasterDetailPage and try to swipe the calendar, and you will see the swipe won't work.

Steps To Reproduce

  1. Checkout sample project
  2. Create new MasterDetailPage class and set AdvancedPage as the Detail
  3. Run and then swipe the calendar
  4. See the swipe won't work

Expected behavior Should working as expected

Version information:

Additional info Only seen this issue in iPhone/iPhone Simulator

giuseppenovielli commented 3 years ago

@housecode you can use swipe, but must disable MasterDetail IsGestureEnabled=false

use MessagingCenter to set True or False

<MasterDetailPage IsGestureEnabled="{Binding IsGestureEnabled}"

and yes this is only on iOS

housecode commented 3 years ago

Hi @giuseppenovielli is it possible to use IsGestureEnabled=True along with Swipe to change month? I don't want to reduce MasterDetailPage behavior

giuseppenovielli commented 3 years ago

Hi @giuseppenovielli is it possible to use IsGestureEnabled=True along with Swipe to change month? I don't want to reduce MasterDetailPage behavior

i think this is available only on Android

antonioseric commented 3 years ago

This is not bug in plugin. you must handle it in your code.