We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfComboBox Dropdown list being hidden behind keyboard on samsung devices

Thread ID:

Created:

Updated:

Platform:

Replies:

143153 Mar 6,2019 04:26 PM UTC Apr 4,2019 07:00 AM UTC Xamarin.Forms 10
loading
Tags: SfComboBox
Shane Vickers
Asked On March 6, 2019 04:26 PM UTC

Hi
We are experiencing an issue where
SfComboBox Dropdown list being hidden behind keyboard on Samsung devices,

We have tired setting the SuggestionBoxPlacement="Top" however the drop down list always remains below the control,

 
Any assistance on resolving this would be greatly appreciated 

Eswaran Thirugnanasambandam [Syncfusion]
Replied On March 8, 2019 12:03 AM UTC

Hi Shane Vickers,

Thanks for contacting Syncfusion support.

We tested the reported issue “SfComboBox Dropdown list being hidden behind keyboard on Samsung devices” in the Samsung S8 device with latest version (16.4.0.54) and we are unable to reproduced the reported issue. We have prepared the sample to show that dropdown list always visible at the top when setting the SuggestionBoxPlacement as top and we have also attached the screenshot taken in Samsung S8 device. Please download the sample and screenshot from the below link.

Sample link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/comboboxdemo_2-1821233843  

Screenshot : http://www.syncfusion.com/downloads/support/directtrac/general/ze/Screenshot-304674072

Please check the sample and if the issue still persists in your side please provide the below information

* On which SfComboBox version the issue is reproduced.
* On which API version the issue is reproduced.
* Modify the given sample to replicate the issue so that we can give appropriate solution for the reported issue.

Regards,
Eswaran T.

Shane Vickers
Replied On March 8, 2019 08:16 AM UTC

Hi Eswara,

Thanks for the reply,

I have edited the sample provided to demonstrate the issue,

<combobox:SfComboBox HeightRequest="40" x:Name="comboBox" SuggestionBoxPlacement="Top" IsEditableMode="True" >
            <combobox:SfComboBox.ComboBoxSource>
                <ListCollection:List x:TypeArguments="x:String">
                    <x:String>Great Britain</x:String>
                    <x:String>Uganda</x:String>
                    <x:String>Ukraine</x:String>
                    <x:String>Canada</x:String>
                    <x:String>France</x:String>
                    <x:String>Italy</x:String>
                    <x:String>United Kingdom</x:String>
                    <x:String>China</x:String>
                    <x:String>Japan</x:String>
                </ListCollection:List>
            </combobox:SfComboBox.ComboBoxSource>
        </combobox:SfComboBox>


It occurs when the Combobox is being filtered/searched


Regards,
Shane

Eswaran Thirugnanasambandam [Syncfusion]
Replied On March 11, 2019 12:52 PM UTC

Hi Shane,

Thanks for your update.

The reported issue is not occurred due to IsEditableMode property, it is occurred because of less space available at the top of the SfComboBox control. As per the current implementation if the dropdown view height is larger than the space available at the top of the SfComboBox control, then the dropdown view will automatically displays at the bottom. Else it will be displayed at the top with the available space at the top of the SfComboBox control. This problem can be solved by using the MaximumDropDownHeight property. Based on the available space at the top of the SfComboBox control set the max height of the drop down view using MaximumDropDownHeight property. Based on your requirement we have prepared a sample in which we set a value for the max height of the drop down view to show the dropdown view always at the top. Please have from the below link.

Sample link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/comboboxdemo_3-1388578705

Please check the sample and let us know if you have any concerns.

Regards,
Eswaran T

Shane Vickers
Replied On March 11, 2019 02:10 PM UTC

Hi Eswaran,

We have set the MaximumDropDownHeight to 50 and the control as at the bottom of the screen to all the availble space is above the control,

I have uploaded a video and project demonstrating this issue,
We have replicated this issue on a number of devices

https://www.dropbox.com/s/znbtu6larmyctcx/ComboBox.zip?dl=0


Regards,
Shane

Shane Vickers
Replied On March 14, 2019 11:35 AM UTC

Hi,

Any update on this issue?



Regards,
Shane

Vanaja  Annasamy [Syncfusion]
Replied On March 15, 2019 03:58 AM UTC

Hi Shane, 
  
We have fixed the reported issue in our Volume 1 Beta release 2019. So we suggest you to update the version (17.1.0.32) and check whether the issue has been resolved in your end. 
  
Regards, 
Vanaja R.A. 


Shane Vickers
Replied On March 19, 2019 09:58 AM UTC

Hi Vanaja


We have just tested 17.1.0.32-beta version and the issue is still present,

We have been able to reproduce the issue on a number of devices, i have attached screen shots from 2 devices showing expected behavior and actual behavior,



Regards,
Shane

Attachment: ComboBoxScreenShots_ec56ff23.zip

Mugundhan Saravanan [Syncfusion]
Replied On March 20, 2019 04:03 PM UTC

Hi Shane,

Sorry for the inconvenience.

Query: "SfComboBox Dropdown list being hidden behind keyboard on samsung devices".

We have analyzed the reported issue. This is a known issue and this occurred only when using android API 26 and above and it is working expected in the API 25 and below. We have already raised a query about this issue in the android issue tracker discussion, we have attached a link for reference.

Link : https://issuetracker.google.com/issues/128579395  

We will let us know once we get solution regarding this issue. Please let us know if you have any other concern.

Regards,
Mugundhan S.

Shane Vickers
Replied On April 3, 2019 10:10 AM UTC

The Solution to the issue can be found here
https://xamarinhelp.com/accommodate-on-screen-keyboard-xamarin-forms/

Adding:
Xamarin.Forms.Application.Current.On<Xamarin.Forms.PlatformConfiguration.Android>().UseWindowSoftInputModeAdjust(WindowSoftInputModeAdjust.Resize);

to MainActivity.cs after LoadApplication


Muneesh Kumar G [Syncfusion]
Replied On April 4, 2019 07:00 AM UTC

Hi Shane, 
 
Thanks for the valuable update. 
 
We have checked the below link, 
 
 
And we have used the same in the SfComboBox Control. Please have the sample from the below link, 
 
 
Regards, 
Muneesh Kumar G 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;