Page 1 of 1

Combo component exiting on scrollbar click

Posted: Tue May 30, 2023 4:34 pm
by conn.finn

Hello,

I'm noticing that when I attach a combo to my calendar sidebar and click on it, I can scroll through the options but when I try to click on the scrollbar to navigate through the values, the values collapse again. I am only able to reproduce this in LWC and I was able to by adding the following to the LWC example:

sidebar: {
                items: {
                    viewSelector: {
                        type: 'combo',
                        displayField: 'name',
                        store: {
                            fields: ['type', 'name'],
                            data: [
                              { id: '1', name: 'forty one' }, 
                              { id: '2', name: 'cool cool' },
                              { id: '3', name: 'cool 1' },
                              { id: '4', name: 'cool 2' },
                              { id: '5', name: 'cool 3' },
                              { id: '6', name: 'cool 4' },
                              { id: '7', name: 'forty one' }, 
                              { id: '8', name: 'cool cool' },
                              { id: '9', name: 'cool 1' },
                              { id: '10', name: 'cool 2' },
                              { id: '11', name: 'cool 3' },
                              { id: '12', name: 'cool 4' },
                            ],
                        },
                        editable: false,
                    }
                }
            }

I've attached the entire example as well if that makes things easier for you.

Thanks,
Connor


Re: Combo component exiting on scrollbar click

Posted: Wed May 31, 2023 10:11 am
by alex.l

Hi Connor,

Could you please make sure you used latest released version? I tried to reproduce this, but it works good here.


Re: Combo component exiting on scrollbar click

Posted: Wed May 31, 2023 9:17 pm
by conn.finn

Hello,

I've double checked with 5.3.6 but I'm still running into the issue in Salesforce LWCs. Not sure if this is helpful but I'll attach a picture of the combo with the scrollbar I cannot click on. Let me know if there's anything else I should try out or can provide you with.

Thanks,
Connor


Re: Combo component exiting on scrollbar click

Posted: Thu Jun 01, 2023 9:09 am
by alex.l

What OS, browser is this? Do you see this problem in other browsers? Did you use any extra CSS?


Re: Combo component exiting on scrollbar click

Posted: Thu Jun 01, 2023 4:02 pm
by conn.finn

I see this in all the browsers I have: Chrome, Firefox, and Safari, and I'm just using the LWC example code with the added combo component (zip attached above) with no additional CSS. OS is macOS Ventura 13.4


Re: Combo component exiting on scrollbar click

Posted: Fri Jun 02, 2023 2:31 pm
by alex.l

Here is your code I launched locally.
Am I doing all correct to reproduce the problem?

Screen Recording 2023-06-02 at 14.30.17.mov
(3.7 MiB) Downloaded 31 times