select-country icon indicating copy to clipboard operation
select-country copied to clipboard

Very slow

Open MarcoFFSiciliano opened this issue 4 years ago • 2 comments

Bug Report or Feature Request (mark with an x)

- [ X] bug report -> please search issues before submitting
- [ ] feature request

OS and Version?

MacOS Monterey + Windows 10 and 64 Pro

Versions

6.0.1 and 5.1.0

Repro steps

I installed it with npm like described in the documentation.

If i click on the dropdown it takes about 1,4-2 seconds until the dropdown opens...

I am using angular 12.

MarcoFFSiciliano avatar Jan 12 '22 22:01 MarcoFFSiciliano

Can confirm. I'm using version 6 on MacOS 11.6.2 and it takes a while to load. Adding a value to itemsLoadSize fixes the problem for me.

imdevdaniel avatar Feb 25 '22 21:02 imdevdaniel

The component also takes very long to initially render, i constantly get warnings like this in my console:

[Violation] 'setTimeout' handler took 103ms zone.js

It is faster though in production mode.

andi0b avatar Apr 21 '22 15:04 andi0b