Smart Select with infinite loop

Is this possible? I can use smart select and infinite loop separately. But I still cannot add infinite loop into the list of smart select with the search function.

Kind of stuck at this part,

$$(’.infinite-scroll-content’).on(‘infinite’, function () {


When it cannot find ‘infinite-scroll-content’ class which is in the smart select pop up. Any idea? Thanks.

Why do you need it? You need to add more options to select on scroll? This is not supported