2 Replies - 3124 Views - Last Post: 04 March 2013 - 07:30 PM

#1 The Architect 2.0  Icon User is offline

  • D.I.C Regular

Reputation: 37
  • View blog
  • Posts: 351
  • Joined: 22-May 08

Caret not blinking in Chrome

Posted 06 September 2012 - 02:23 AM

I have just started working on a large codebase and am trying to solve a Chrome-specific bug.

On the webpage are two buttons that popup a jquery-ui dialog box. in the dialog box is a text-input element. the input element has focus and the cursor blinks. This is the expected behavior. However, in Chrome, when I hit one of the buttons, this is NOT the case. the cursor appears but does not blink.

I simply have no idea what the problem is



I can't show you the code, so let me know if you need any more details. I'm not asking for specific code per say, but if this is a recognized bug of some sort or there are legitimate reasons for this to happen, please let me know.

Thank you in advance.

Is This A Good Question/Topic? 0
  • +

Replies To: Caret not blinking in Chrome

#2 JMRKER  Icon User is offline

  • D.I.C Addict

Reputation: 128
  • View blog
  • Posts: 826
  • Joined: 25-October 08

Re: Caret not blinking in Chrome

Posted 10 September 2012 - 08:16 PM

Create an example snippet of code that shows the problem you are having.
We cannot tell from your description if the problem is Chrome or your code!

You may not want to show your code here, but as soon as you publish the page
anyone can see your code with a simple "view source". If you truly don't want to show your code, then you ought not be using JS as your language of choice.
Was This Post Helpful? 0
  • +
  • -

#3 nazmarina  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 04-March 13

Re: Caret not blinking in Chrome

Posted 04 March 2013 - 07:30 PM

here is a sample http://jsfiddle.net/N7a8n/1/

The issue appears to be with draggable/sortable elements.
If I click on a draggable box - cursor in a dialog's input won't blink, however if you check document.activeElement you'll see that input has a focus.

Seems like this only happens in Chrome.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1