We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
virtualScroll
1 parent 8a8d1d1 commit 864b87eCopy full SHA for 864b87e
packages/multiple-select-vanilla/src/MultipleSelectInstance.ts
@@ -492,7 +492,7 @@ export class MultipleSelectInstance {
492
offset = -1;
493
}
494
495
- if (rows.length > Constants.BLOCK_ROWS * Constants.CLUSTER_BLOCKS) {
+ if (this.options.virtualScroll && rows.length > Constants.BLOCK_ROWS * Constants.CLUSTER_BLOCKS) {
496
const dropVisible = this.dropElm && this.dropElm?.style.display !== 'none';
497
if (!dropVisible && this.dropElm) {
498
this.dropElm.style.left = '-10000';
0 commit comments