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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Prevent Losing Focus When Scrolling

Thread ID:

Created:

Updated:

Platform:

Replies:

150567 Jan 11,2020 11:40 AM UTC Jan 13,2020 09:11 AM UTC ASP.NET Web Forms 1
loading
Tags: DropDownList
Darien Goodwin-Madden
Asked On January 11, 2020 11:40 AM UTC

Hi there,

Hopefully this should be a pretty straight forward one but for some reason I have not been able to find a solution.

I am looking to prevent my dropdowns from losing focus and closing when the user continues to scroll when the dropdownlist reaches the bottom. I am wanting it so that when the user hits the bottom of the list when scrolling with the mouse wheel, that the dropdownlist remains open.

I am using an out of the box dropdownlist but heres the code anyway:

<ej:DropDownList ID="ddTest" Width="100%" EnableFilterSearch="true" runat="server" />

Cheers,



Shameer Ali Baig Sulaiman Ali Baig [Syncfusion]
Replied On January 13, 2020 09:11 AM UTC

Hi Darien, 
 
Thanks for contacting Syncfusion support. 
 
We have looked into your query on DropDownList control. We have already addressed to achieve the same requested requirement in our component. While trying to prepare the demo sample for achieving the requirement. We figured out, that our already provided solution is not working in Chrome and Firefox browser. On analyzing about the cause of this issue, we found that Chrome has modified behavior of preventDefault() function in its latest versions.  
 
The below attached sample works as expected in the IE 11 and Edge browsers. 
 
 
Please, find the forum links which discuss about the issue which we face at our side. 
 
 
 
 
We raise query to chrome support regarding this issue. Meanwhile, we will check to resolve the issue at our end. We will update you further details once we get the details from chrome public forum.  
 
Regards, 
Shameer Ali Baig S. 


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

Live Chat Icon For mobile
Live Chat Icon