Disallow Scroll-Wheel Changing Selected Value

Hello,

Is it possible to ignore scrolling when the SfComboBox is not dropped down? I'd like to be able to scroll the list view once it's dropped down but ignore scroll events on top of a non-dropped down SfComboBox. 


A solution for the built-in ComboBox exists: https://stackoverflow.com/questions/1882993/c-sharp-how-do-i-prevent-mousewheel-scrolling-in-my-combobox

Unfortunately this doesn't seem to work with SfComboBoxes. 


Thank you,

Robert van der Leek


26 Replies 1 reply marked as answer

MJ Madhumithan Jayapathi Syncfusion Team August 21, 2023 01:09 PM UTC

Hi Robert,

We have analyzed your requirement of "Disable MouseWheel Event when scrolled in SfComboBox". We have logged a feature request for the same. We will implement this feature in our next SP release. We appreciate your patience until then. 

At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented.

Thank you for requesting this feature and helping us define it. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts. 

Feedback link: https://www.syncfusion.com/feedback/46256/disable-mousewheel-event-when-scrolled-in-sfcombobox


If you have any more specifications/suggestions to the feature request, you can add it as a comment in the portal and cast your vote to make it count.



Regards,
Madhumithan Jayapathi


Marked as answer

LO Lorna October 20, 2023 09:04 PM UTC

Hi,


Has this been implemented yet please? I have the same issue as Robert.


Kind regards


Lorna



MJ Madhumithan Jayapathi Syncfusion Team October 23, 2023 12:45 PM UTC

Hi Lorna,

Due to high-priority work, we don’t have an immediate plan to implement this feature right now, but we will implement this feature in any of our upcoming releases. We will let you know when this feature is implemented. We appreciate your patience until then.

Regards,
Madhumithan Jayapathi





TN Trieu Nguyen June 3, 2024 04:27 AM UTC

Hi, Any update on this?



PV Priyanka Vijayasankar Syncfusion Team June 3, 2024 04:50 PM UTC

Hi Trieu Nguyen,

 

We are currently working on this feature and it is in progress. Once the development is completed, we will inform you as soon as the feature is released. Thank you for your patience and understanding.

 

Regards,

Priyanka Vijayasankar



AL Anders Linden June 4, 2024 02:28 PM UTC

What are the odds, I am searching for this today and finds out that the latest update on this was yesterday! I tried to intercept window messages and other shenanigans, but failed to turn off setting current item with the mouse wheel. I also hope that mouse wheel actions when hovering a sfComboBox will not stop scrolling of the parent control.



PV Priyanka Vijayasankar Syncfusion Team replied to Anders Linden June 7, 2024 04:18 PM UTC

Hi Anders,

Would you kindly verify if the mentioned scenario we described matches the feature we created? If they are not the same, please provide further details about your query and, if possible, share a sample and video for reference.

Feedback link: https://www.syncfusion.com/feedback/46256/disable-mousewheel-event-when-scrolled-in-sfcombobox

Regards,

Priyanka Vijayasankar



AL Anders Linden June 10, 2024 07:21 AM UTC

Please tell me what you created to prevent changing value when scrolling the parent of a sfComboBox.

I expect a property of the sfComboBox that would prevent that from happening and just let the parent scroll as expected.



PV Priyanka Vijayasankar Syncfusion Team replied to Trieu Nguyen June 12, 2024 04:30 PM UTC

Hi Trieu Nguyen,

 

We are glad to inform you that we have provided the feature of "Disable MouseWheel Event when scrolled in SfComboBox".

 

Feedback link:  https://www.syncfusion.com/feedback/46256/disable-mousewheel-event-when-scrolled-in-sfcombobox

 

We are glad to announce that our Essential Studio 2024 Volume 2 Main Release V26.1.35 is rolled out and is available for download under the following link.

  

Essential Studio 2024 Volume 2 Main Release v26.1.35 is available for download | Announcements Forums | Syncfusion

 

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

 

Regards,

Priyanka Vijayasankar



PV Priyanka Vijayasankar Syncfusion Team replied to Anders Linden June 12, 2024 04:45 PM UTC

Hi Anders Linden,

 

Please utilize the MouseWheel Event to prevent value changes when scrolling the parent of a sfComboBox by using HandledMouseEventArgs. Please refer the attached sample for your reference.

 

We are glad to inform you that we have provided the feature of "Disable MouseWheel Event when scrolled in SfComboBox".

 

Feedback link:  https://www.syncfusion.com/feedback/46256/disable-mousewheel-event-when-scrolled-in-sfcombobox

 

We are glad to announce that our Essential Studio 2024 Volume 2 Main Release V26.1.35 is rolled out and is available for download under the following link.

  

Essential Studio 2024 Volume 2 Main Release v26.1.35 is available for download | Announcements Forums | Syncfusion

 

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

 

Regards,

Priyanka Vijayasankar


Attachment: MousewheelSfComboBox_68e0ea1c.zip


TN Trieu Nguyen June 13, 2024 02:53 AM UTC

Hi Priyanka Vijayasankar,

Thank you and your team for your hard work. This enhancement will greatly improve the UX of our product.

Regards,
Trieu Nguyen




TN Trieu Nguyen June 13, 2024 03:40 AM UTC

Hi Priyanka Vijayasankar,

I have implemented your suggestion. When I set DropDownStyle to DropDown, it works as expected, and the SelectedIndex doesn't change when scrolling. However, when I change DropDownStyle to DropDownList and scroll on the ComboBox, an exception is thrown in your DLL:

An unhandled exception of type 'System.StackOverflowException' occurred in Syncfusion.SfListView.WinForms.dllAn unhandled exception of type 'System.StackOverflowException' occurred in Syncfusion.SfListView.WinForms.dll

Image_4692_1718249966506

I'm not sure what is causing this issue. Could you help me investigate it on your side?

Thank you!

Best regards,

Trieu Nguyen




PV Priyanka Vijayasankar Syncfusion Team replied to Trieu Nguyen June 13, 2024 01:48 PM UTC

Hi Trieu Nguyen,


We are able to reproduce the mentioned issue from our side. We will check and update on or before June 14th, 2024. We appreciate your patience until then.


Regards,

Priyanka Vijayasankar



TN Trieu Nguyen replied to Priyanka Vijayasankar June 14, 2024 04:23 AM UTC

Hi Priyanka Vijayasankar,

I hope this message finds you well.

After upgrading to version 26.1.35, I've noticed an issue with the SfComboBox dropdown list on high DPI screens (with resolution 250%). Specifically, the item heights are too small, as shown in the attached image.
Image_1021_1718338473936

This issue was not present in the previous version (24.2.3), where the dropdown list worked as expected.

Could you please look into this issue and provide a fix at your earliest convenience? Your assistance in resolving this matter promptly would be greatly appreciated.
Additionally, this problem also affects the SfComboBox when it is in MultiSelection mode.


In the meantime, could you assist me in downgrading to the previous version?

Thank you for your support.

Best regards,
Trieu Nguyen



PV Priyanka Vijayasankar Syncfusion Team replied to Trieu Nguyen June 14, 2024 04:47 PM UTC

Hi Trieu Nguyen,

 

We will check and include the fix in the upcoming weekly NuGet which is scheduled on June 19th, 2024 . We appreciate your patience until then.

 

Regards,

Priyanka Vijayasankar



PV Priyanka Vijayasankar Syncfusion Team replied to Trieu Nguyen June 14, 2024 04:58 PM UTC

Hi Trieu Nguyen,

 

We are unable to reproduce the reported issue based on the given information. Please refer to the attached sample and screenshot provided for your reference.

Could you please share a modified sample that replicates the issue so that we can better analyze the issue and provide a solution?

ComboBox_Height.png

 

Regards,

Priyanka Vijayasankar


Attachment: MousewheelSfComboBox_9066c1ac.zip


TN Trieu Nguyen June 16, 2024 01:49 AM UTC

Hi Priyanka Vijayasankar,

I have tested your sample, and it is working well.
Here is my sample, written in a VSTO Addin. When you run it, please click the "Add-in" tab on the Ribbon bar and click the "Open" button to open the form.
You should then change the screen resolution scale to 250% (or possibly smaller, I haven't tested those), the item height in the dropdown becomes too small.

This issue was not present in the previous version (24.2.3), where the dropdown list worked as expected.

Thank you for your assistance.

Best regards,
Trieu Nguyen


Attachment: MouseWheelSfCombobox_359adf17.zip



PV Priyanka Vijayasankar Syncfusion Team replied to Trieu Nguyen June 18, 2024 03:01 PM UTC

Hi Trieu Nguyen,


We are able to reproduce the mentioned issue from your sample. We will check and update on or before June 20th, 2024. We appreciate your patience until then.


Regards,

Priyanka Vijayasankar



PV Priyanka Vijayasankar Syncfusion Team replied to Trieu Nguyen June 19, 2024 05:22 PM UTC

Hi Trieu Nguyen,

 

We have included the fix for the reported issue in our Weekly NuGet release version 26.1.38 which is available for download ( https://www.nuget.org/).

 

We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you require any further assistance.

 

Regards,

Priyanka Vijayasankar



PV Priyanka Vijayasankar Syncfusion Team replied to Trieu Nguyen June 20, 2024 02:15 PM UTC

Hi Trieu Nguyen,

 

We have confirmed the reported scenario is a defect and logged a report for the reported scenario, “The height of the items in the dropdown list is too small when using 250 dpi in the WinForms SfComboBox”. We will fix this issue and include it in our NuGet release which is scheduled for 9th July, 2024.

 

You can track the status of this defect using the following feedback link: https://www.syncfusion.com/feedback/58838/the-height-of-the-items-in-the-dropdown-list-is-too-small-when-using-250-dpi-in

 

Please let us know if you need any further assistance.

Note: The provided feedback link is private, and you need to log in to view this feedback.

 

Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”

 

Regards,

Priyanka Vijayasankar

 

 



TN Trieu Nguyen June 24, 2024 01:53 AM UTC

Hi  Priyanka,

Thank you for the information!



TN Trieu Nguyen July 10, 2024 04:27 AM UTC

Hi,

I would greatly appreciate it if you could send me an update on this.

Thank you very much.

Best regards,



PV Priyanka Vijayasankar Syncfusion Team replied to Trieu Nguyen July 10, 2024 08:02 AM UTC

Hi Trieu Nguyen,

 

We have fixed the reported issue "The height of the items in the dropdown list is too small when using 250 dpi in the WinForms SfComboBox" from our end. This patch can be downloaded from the links below.

 

Recommended approach - exe will perform automatic configuration.

 

Please find the patch setup from the below location:           

Patch link:

https://syncfusion.com/Installs/support/patch/26.1.35/1683061/F184097/SyncfusionPatch_26.1.35_1683061_7092024121401221_F184097.exe

 

Please find the patch assemblies alone from the below location:           

Assemblies Link:

https://syncfusion.com/Installs/support/patch/26.1.35/1683061/F184097/SyncfusionPatch_26.1.35_1683061_7092024121401221_F184097.zip

 

NuGet link:

https://syncfusion.com/Installs/support/patch/26.1.35/1683061/F184097/SyncfusionNuget_26.1.35_1683061_7092024121401221_F184097.zip

 

Assembly Version: 26.1.35 

Installation Directions:       

  

This patch should replace the files "Syncfusion.SfListView.WinForms” under the following folder.           

$system drive:\ Files\Syncfusion\Essential Studio\$Version #\precompiledassemblies\$Version#\[TargetFramework]           

E.g. : $system drive:\Program Files\Syncfusion\Essential Studio\26.1.35\precompiledassemblies\26.1.35\4.6

To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you must manually copy and paste them to the preferred location, or you must run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.   

https://www.syncfusion.com/support/directtrac/patches

 

Disclaimer:           

Please note that we have created this patch for version 26.1.35 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.  Please let us know, if you are using any other Syncfusion version, we will provide patch in your version.

 

This fix will be included in our upcoming NuGet release, which is scheduled for 16th July, 2024.

 

Please let us know if you need any further assistance on this. We will be glad to assist you.

 

Regards,

Priyanka Vijayasankar



TN Trieu Nguyen July 11, 2024 09:27 AM UTC

Hi Priyanka Vijayasankar,

Thank you for your response. I have already upgraded to version 26.1.38 to fix the first issue mentioned above. Could you please send me the patch for version 26.1.38?

Thank you!

Regards,
Trieu Nguyen



PV Priyanka Vijayasankar Syncfusion Team July 11, 2024 02:00 PM UTC

Hi Trieu Nguyen,

 

Sorry, we can only provide patches in the Main and SP releases. We cannot provide patches in the weekly releases as you mentioned.

This fix will be included in our upcoming NuGet release, which is scheduled for 16th July, 2024.

 

Regards,

Priyanka Vijayasankar



PV Priyanka Vijayasankar Syncfusion Team replied to Trieu Nguyen July 17, 2024 07:09 AM UTC

Hi Trieu Nguyen,

 

We have included the fix for the reported issue "The height of the items in the dropdown list is too small when using 250 dpi in the WinForms SfComboBox" in our Weekly NuGet release version 26.1.42 which is available for download ( https://www.nuget.org/).

We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you require any further assistance.

Regards,

Priyanka Vijayasankar


Loader.
Up arrow icon