[Regression] 19.2.0.47 SfPicker IsOpen binding mode fix causing unexpected interaction behavior

In a previous thread, I documented an issue related to the IsOpen property's default binding mode not being TwoWay resulted in a Dialog mode Picker being unusable after initially closing it. Now, using a Dialog mode picker with the default footer (Ok/Cancel buttons) causes the picker to disappear instantly upon the first interaction with the picker items, even the start of a drag gesture. This is unusable and I'm required to instead use the Default picker mode with an IsOpen binding mode of OneWay. I've debugged and none of my code is triggering the data-bound property for IsOpen to change to false, so I can only assume that it is the Picker's code setting the IsOpen bound value to false when the selected item changes.Here's a simple sample of the Picker configuration I'm using resulting in this behavior:

<sfp:SfPicker HeaderText="Sort"

              IsOpen="{Binding IsChangingSort}"
              ItemsSource="{Binding SortOptions}"
              PickerMode="Dialog"
              SelectedItem="{Binding Sort}"
              ShowFooter="True"
              ShowHeader="True">
  <sfp:SfPicker.Behaviors>
    <xtk:EventToCommandBehavior Command="{Binding ConfirmChangeSortCommand}"
                                EventName="OkButtonClicked" />
  </sfp:SfPicker.Behaviors>
</sfp:SfPicker>


Changing the selected item should not forcefully close the Picker, especially when the footer is visible.


1 Reply

JK Jeya Kasipandi Syncfusion Team July 22, 2021 12:33 PM UTC

Hi Andrew,

We have checked the reported issue based on your code snippet, but we are unable to reproduce the reported issue .Please find the tested sample from below link

Sample Link:

Could you please check the issue with the attached sample and let us know whether it is reproduced or not ?. If the issue was not reproduced in this sample, please revert us by modifying the sample based on your application scenario or provide the sample and share which platform that you have faced this issue. This will be helpful for us to provide better solution at the earliest.

Regards,
Jeya K


Loader.
Up arrow icon