Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget highlights first item incorrectly #2146

Closed
ggkrustev opened this issue Sep 10, 2016 · 2 comments
Closed

Widget highlights first item incorrectly #2146

ggkrustev opened this issue Sep 10, 2016 · 2 comments

Comments

@ggkrustev
Copy link
Contributor

Bug report

Reproduction of the problem

  1. Open this demo - http://dojo.telerik.com/uDIbU/2
  2. Start searching for different items
  3. (hard to replicate constantly) the first item will be focused although the highlightFirst: false config.

The most probable reason for this inconsistent behavior is the explicit focus of the StaticList widget:
https://github.com/telerik/kendo-ui-core/blob/master/src/kendo.list.js#L2228

This should be controlled by an option highlightFirst probably, which will eliminate the need of clearing the focused item on second step:
https://github.com/telerik/kendo-ui-core/blob/master/src/kendo.autocomplete.js#L411

Expected/desired behavior

The widget should not focus the first item when highlightFirst: false is defined.

Environment

  • Kendo UI version: 2016.2.717
  • jQuery version: 1.9.3+
  • Browser: all
@ggkrustev ggkrustev self-assigned this Sep 10, 2016
@ggkrustev ggkrustev removed their assignment Feb 9, 2017
@Juveniel Juveniel added the jQuery label Aug 9, 2017
@zdravkov zdravkov self-assigned this Nov 28, 2017
@zdravkov zdravkov added this to the 2018.R1 milestone Nov 28, 2017
@zdravkov
Copy link
Member

Could not replicate it with the latest version of Kendo.

@Dimitar-Goshev
Copy link
Contributor

This issue is still reproducible and logged publicly - #3852 . It is easier for reproduction with connection throttling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants