- Home
- Forum
- Xamarin.Forms
- Picker and Orientation issue
Picker and Orientation issue
Hi,
Attachment: PickerScreens_9a6cd2fc.zip
1. My device is in portrait mode. I open a picker.
2. I change the orientation to landscape. The picker is not in the center of the parent view (even if I set VerticalOptions and HorizontalOptions to Center). It preserves the X position.
Is there any solution for this?
Attachment: PickerScreens_9a6cd2fc.zip
SIGN IN To post a reply.
5 Replies
PA
Paul Anderson S
Syncfusion Team
November 30, 2018 11:33 AM UTC
Hi Dan Dumitrascu,
Greetings from Syncfusion.
We are able to reproduce the reported issue “When rotating the device, the picker is not in the centered to its parent view” from our side and we have logged a bug report for the reported issue. The fix will be available in our upcoming Volume 4 SP1 release which will be in the end of January 2019.
Regards,
Paul Anderson
DD
Dan Dumitrascu
November 30, 2018 11:37 AM UTC
Thank you,
As a workaround until then:
The picker must be removed from the parent view, disposed, recreated and added back when the orientation change is detected.
PA
Paul Anderson S
Syncfusion Team
November 30, 2018 11:41 AM UTC
Hi Dan Dumitrascu,
Thanks for the update.
We are glad that you have got the workaround for the reported issue with SfPicker. We can use the suggested workaroud. As mentioned earlier we will fix and will be available in our upcoming Volume 4 SP1 release which will be in the end of January 2019.
Regards,
Paul Anderson
GD
Giorgi Dalakishvili
March 13, 2019 07:58 AM UTC
Is there any fix on this issue?
DR
Dhanasekar R
Syncfusion Team
March 14, 2019 12:39 PM UTC
Hi Giorgi,
Yes. The fix has been fixed in NuGet version 16.4.0.54. So, please use our upgraded NuGet version in your application to resolve this problem.
Please get back to us if you are still facing the problem in latest version.
Regards,
Dhanasekar
SIGN IN To post a reply.
- 5 Replies
- 4 Participants
-
DD Dan Dumitrascu
- Nov 30, 2018 10:28 AM UTC
- Mar 14, 2019 12:39 PM UTC