Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143126 | Mar 5,2019 04:59 PM UTC | Mar 6,2019 07:13 AM UTC | React - EJ 2 | 1 |
![]() |
Tags: DropDownList |
Hello.
I work on the dropdown list component. In mobile mode and desktop this component opens differently.
Rendered in desktop mode :
Rendered in mobile mode :
Is it possible to have desktop mode rendering in mobile mode ?
Thanks in advance and regards,
this.onOpen = (args) => {
if(Browser.isDevice){
args.popup.element.classList.remove('e-ddl-device', 'e-ddl-device-filter');
args.popup.element.style.width = args.popup.width;
args.popup.element.style.maxHeight = parseInt(this.popHeight) + 'px';
args.popup.element.querySelector('.e-content.e-dropdownbase').style.maxHeight = parseInt(this.popHeight) - 25 + 'px';
args.popup.element.querySelector('.e-content.e-dropdownbase').style.height = 'auto';
args.popup.collision= { X: 'flip', Y: 'flip' };
args.popup.position = { X: 'left', Y: 'bottom' };
args.popup.dataBind();
}
}; |
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.
This page will automatically be redirected to the sign-in page in 10 seconds.