Hi,
I tested the new version today, because of this topic:
Maybe I got it wrong,
but our issue is not solved by that.
When start typing a value, the suggestion list pops up…
when keep on typing, so that the top entry would only fit i.e.
the screen looks like this:
attached a demo project…
in entity LinkEntity create i.e. 20 rows…
then in TestEntity click on create and then start typing in the linkfield…
you can see, that the pop up list will getting smaller up to the top border…
we use the Helium addOn with font size set to small…
and, on my notebook, the screensize is set to 150% scaling, if that makes a difference
As a result, popup is displayed almost immediately after the user starts typing and too many suggestions appear at first (see 3). After the search string grows and limits suggestions the popup position remains the same. That why the described bug appears.
It’s recommended to make SuggestionField less sensitive, e.g.:
I used 400 and 4,
but it makes not really a difference.
If you type in fast, it works.
If you type in slow, the same issue.
So, the delayMs and length influences the behavior.
But only if the user is typing fast enough
And, we need length 2
I agree that delay isn’t the complete solution. I’ve created a GitHub issue to improve suggestions popup behavior, but I can’t guarantee that it’s feasible.
Currently, as an option, you can use styles to limit popup height: