user too fast

4 posts, 0 answers
  1. John Hadjioannou
    John Hadjioannou avatar
    30 posts
    Member since:
    Dec 2005

    Posted 12 Aug 2010 Link to this post

    When the user clicks on a combobox that has already initialised with a value, usually the whole value highlights and when the user types it is overwritten.  This is the expected behaviour.

    Sometimes, if the user starts typing quickly, the text they type is inserted into the existing text - it seems that they arre "too fast" for the highlighting to have taken effect.  Is there a way round this?

    Thanks
    John
  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 16 Aug 2010 Link to this post

    Hi John Hadjioannou,

    Can you reproduce the issue in this demo? If yes, how?

    Greetings,
    Simon
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. John Hadjioannou
    John Hadjioannou avatar
    30 posts
    Member since:
    Dec 2005

    Posted 17 Aug 2010 Link to this post

    Hi Simon

    No, the issue doesn't arise with the demo.

    I do however have an OnKeyPressing event:

     

    function onKeyPressing(sender, eventArgs) {

     

     

        // Bugfix for RadCombo

     

     

        var e = eventArgs.get_domEvent();

     

     

        var keyCode = e.keyCode || e.which;

     

     

        var shouldMarkFirstMatch = (keyCode !== 32);

     

     

        sender.set_markFirstMatch(shouldMarkFirstMatch);

     

     

        // end bugfix

     

     

        if (sender.get_text() == '') {

     

     

        sender.requestItems('', false);

     

     

    }

    The bugfix is to deal with the problem in http://www.telerik.com/community/forums/aspnet-ajax/combobox/radcombobox-not-allowing-spaces-in-custom-text.aspx 

    Could this be causing the problem?

    John

     

  4. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 18 Aug 2010 Link to this post

    Hello John Hadjioannou,

    Does removing the workaround fix the issue?

    Greetings,
    Simon
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top