Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Each key input loses focus on change #3

Closed
jpillora opened this issue Sep 17, 2013 · 13 comments
Closed

Each key input loses focus on change #3

jpillora opened this issue Sep 17, 2013 · 13 comments

Comments

@jpillora
Copy link

No description provided.

@mb21
Copy link
Owner

mb21 commented Sep 17, 2013

Thanks! fixed by updating angular.

@mb21 mb21 closed this as completed Sep 17, 2013
@jpillora
Copy link
Author

👍

On Tue, Sep 17, 2013 at 9:53 PM, mb21 notifications@github.com wrote:

Thanks! fixed by updating angular.


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-24582088
.

@jpillora
Copy link
Author

Hmm still seems to be happening actually, I'm on Mac OSX 10.8.4 Chrome 29.0.1547.65

@mb21
Copy link
Owner

mb21 commented Sep 17, 2013

Probably takes a few minutes to propagate the changes to github pages. If still no effect, clear your browser cache.

@jpillora
Copy link
Author

Once setup, Github Pages propagation is on push, I have a feeling they
reference the files directly in the repo. Still same for me.

On Tue, Sep 17, 2013 at 10:07 PM, mb21 notifications@github.com wrote:

Probably takes a few minutes to propagate the changes to github pages. If
still no effect, clear your browser cache.


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-24582763
.

@mb21
Copy link
Owner

mb21 commented Sep 17, 2013

Clear your browser cache. It's working for me on Mac OS X 10.8.5 Chrome 29.0.1547.65

@lukasz-kaniowski
Copy link

i've just tried this on firefox safari and chrome and it still seems to be broken. any suggestions how to fix it?

@mb21 mb21 reopened this May 23, 2014
@XavierP56
Copy link

Hi,
On Linux chrome, I do have the problem !

@mb21
Copy link
Owner

mb21 commented May 23, 2014

Seems to happen when Angular.js refreshes the view... We've had this before and the following attribute-directive used to fix it, but it's producing inconsistent results now:

app.directive('focus', function() {
    return {
        restrict: 'A',
        link: function(scope, element, attributes) {
            element[0].focus();
        }
    }
});

<input type="text" focus />

@XavierP56
Copy link

Any solution ?

@lukasz-kaniowski
Copy link

+1

@liuyu121
Copy link

yeah,it still in the mac os x with chrom 36.0.1985.125

@mb21
Copy link
Owner

mb21 commented Aug 19, 2014

Okay, I now changed it to only update the angular model when you leave the text box (i.e. using on-blur instead of on-change).

@mb21 mb21 closed this as completed Aug 19, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants