Scrolling appearance problem with SfComboBox

Hello,

I created a custom Combobox control based on SfComboBox:

  public partial class MyComboBox : SfComboBox

    {

        public MyComboBox()

        {

            InitializeComponent();


            this.DisplayMember = "Text";

            this.ValueMember = "Id";

            this.MaxDropDownItems = 14;

            this.Style.EditorStyle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));


            this.AutoCompleteMode = AutoCompleteMode.SuggestAppend;

            this.AutoCompleteSuggestMode = Syncfusion.WinForms.ListView.Enums.AutoCompleteSuggestMode.Contains;

            this.Height = 27;

            this.DropDownListView.ItemHeight = 30;


            this.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);

            this.Margin = new System.Windows.Forms.Padding(3, 3, 3, 6);

        }


        protected override void OnPaint(PaintEventArgs pe)

        {

            base.OnPaint(pe);

        }


        protected override void OnCreateControl()

        {

            base.OnCreateControl();

            this.MinimumSize = new(0, 40);


        }

    }

After I open the combobox and try scroll the appearance go to pieces. Please see attached video for the presentation.

Thank you for help!

BR, SZL



Attachment: Recorder_bad7fa4b.zip

10 Replies

BA BagavathiPerumal Apranandham Syncfusion Team September 2, 2022 01:16 PM UTC

Hi SZL,


We are unable to reproduce the exact issue of yours. When scrolling in the SfComboBox item, some items are disappeared. Please refer the video and the sample from the attachment.

Please provide more details about the requirement or modify our sample and revert to us with a reproducible issue or video. So, it will be helpful to prompt the solution further.



Regards,

Bagavathi Perumal A


Attachment: SfComboBox_Custom_b2e08bff.zip


SZ SZL replied to BagavathiPerumal Apranandham September 2, 2022 04:32 PM UTC

Hello,


Thank you! I not clearly understand your message because your example and your video contains appearance problems too with scrolling. 


Thank you!

BR, László



BA BagavathiPerumal Apranandham Syncfusion Team September 5, 2022 11:40 AM UTC

Hi SZL,


We are able to see some rendering issue while scrolling, however we observe that it is not exactly same issue that you are facing. Hence. we requested for further information. So that we will make sure that we address both the issues.


Regards,
Bagavathi Perumal A



SZ SZL replied to BagavathiPerumal Apranandham September 7, 2022 10:42 AM UTC

Hello,

I think the problem behavior is depends on the count of items in the combobox. In my example the first comobox contains more less items than the second and the behavior is not the same (it is no exactly same).

I think the padding+margin+itemheight(+maybe border width) size calculation and rendering this size can be wrong, but this is only my opinion. The count of items can cause different behavior, but there are rendering issue in all cases.


Thank you!

BR, László



BA BagavathiPerumal Apranandham Syncfusion Team September 8, 2022 04:18 PM UTC

Hi SZL,


We have confirmed the reported scenario is a defect and logged a report for the reported scenario “The DropDown Items are not rendered properly when adding multiple items to SfComboBox”. We will include the fix in our upcoming Weekly NuGet release which is scheduled on 04th October 2022. The fix will also resolve your reported rendering issue when scrolling.

You can track the status of this defect using the following feedback link: The DropDown Items are not rendered properly when adding multiple items to SfComboBox in WinForms | Feedback Portal (syncfusion.com)

If you have any more specification replication procedures or a scenario to be tested, you can add it as a comment in the portal.

Please let us know if you need any further assistance.


Regards,
Bagavathi Perumal A




SZ SZL replied to BagavathiPerumal Apranandham September 9, 2022 10:23 AM UTC

Hi,

Thank you very much for help! The link is access denied for me, but its very good that the fix incoming in october.


Have a nice day!



BA BagavathiPerumal Apranandham Syncfusion Team September 12, 2022 01:59 PM UTC

Hi SZL,


We have provided access to the feedback link to your credentials. So, please try clearing the cache and using an incognito window.



Regards,
Bagavathi Perumal A



HN Harinath Navaneethakrishnan Syncfusion Team October 4, 2022 07:28 AM UTC

Hi SZL,


Sorry for the inconvenience caused.

We are still working on this issue with high priority. We will update you the fix in our upcoming NuGet release which is scheduled on 11th October 2022.

We appreciate your patience until then.



Regards,

Harinath N




SZ SZL replied to Harinath Navaneethakrishnan October 4, 2022 07:59 AM UTC

Hi, Of course, no problem, thank you for the information!

BR, SZL



HN Harinath Navaneethakrishnan Syncfusion Team October 11, 2022 06:26 AM UTC

Hi Szl,


Thanks for your patience.


We have included the fix in our latest Weekly NuGet release v20.3.0.49 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 would require any further assistance.



Regards,

Harinath N


Loader.
Up arrow icon