CompoBox Misbihaving in Mobile Device

Hello Team,

When I am opening the combo box on my mobile it is hiding the search box behind its popup window. Please check your demo in mobile device. How can I handle this so that users can even search in the text box after opening the popup?

https://ej2.syncfusion.com/angular/demos/?_ga=2.224200220.622566643.1612490629-950242303.1612490629#/material/combo-box/default

1 Reply 1 reply marked as answer

BC Berly Christopher Syncfusion Team February 8, 2021 09:35 AM UTC

Hi Nagendra, 
  
Greetings from Syncfusion support. 
  
We have showcased the ComboBox component’s popup in the centre of the view port in the mobile mode alone since there is less space and better UI in the mobile view. If filtering is enabled, popup will open below the component only. If it is not enabling it will open on the component itself. This is the default behaviour of the combo box component.  
  
If you want to change the popup position, you can set the popup position X as ”left” and Y as “Bottom” in the open event else you can set the offsetX and offsetY position with number value as per your requirement to position the ComboBox popup. 
  
onOpen(args) { 
    args.popup.position = { X: "left"Y: "top" }; // changing popup postion 
  } 
onOpen(args) { 
    args.popup.offsetX=500; // changing the popup position with set any number value 
    args.popup.offsetY=500; 
} 
 

  
  
Regards, 
Berly B.C 


Marked as answer
Loader.
Up arrow icon