#164 new
Greg Bluvshteyn

JS error in IE (Can't move focus to the controll because it's invisible)

Reported by Greg Bluvshteyn | January 26th, 2010 @ 10:42 PM | in 0.9.10 "Alekhine"

First of, great product. Haven't had so much joy for a really long time ( hey it's ruby :))

This is the error that I've encountered using IE6/7 ( Firefox (as always) does not have this issue)
I've seen this problem from 0.9.8 to the latest versions of fat free crm

  1. Create a lead
  2. open a lead from a list

Show action would produce an error:

Can't move focus to the control because it's invisible, not enabled or of a type that does not accept the focus.

I think it's because IE does not deal well with display:none and for example when you show comment div#post is hidden.
Also, you will find a bit different but similar in nature issue when you'd try editing a lead which you'd open through show action.
There I was getting rjs error related to not being able to find edit_lead div which was hidden using the same style.

I've fixed it in my version of your application but I had to do it quick and dirty so I'm kind of ashamed to provide a patch.

Thanks again.

Comments and changes to this ticket

  • Mike Dvorkin

    Mike Dvorkin January 29th, 2010 @ 09:57 PM

    • Tag set to ie javascript

    Greg, thanks for your post. IE is not "officially" supported and I'm accepting any IE-related patches, even if they are quick and dirty. I'll make it all look good before merging to the core :-)

  • Nathan B

    Nathan B March 16th, 2011 @ 11:21 PM

    • Milestone order changed from “0” to “0”

    We have noticed this issue too, and would appreciate a look at the patch. Wouldn't mind spending time fixing it up for you.

  • Thomas Frank
  • Mathew23

    Mathew23 October 8th, 2022 @ 01:57 AM

    One form page on my website uses a pop-up window to send data to the database. In order to submit data once, Word Hurdle I put a single disabled button in js. It functions flawlessly on other browsers but not on Internet Explorer 11.

  • johndavidd

    johndavidd October 12th, 2022 @ 05:52 PM

    The main cause of JavaScript (0) gaps is that JavaScript isn't working properly on your weaver game website. You won't be able to access the page you want to visit because of the pop-up blocker. Your computer's Java software might be to blame for the snake io JavaScript Void issue.

  • Annata Evan

    Annata Evan October 17th, 2022 @ 12:30 AM

    I decided to disregard the exception and act as though nothing ever happened because there is just one client who uses IE7, pinpointing the exact moment the issue occurred was nearly impossible, dordle and there didn't seem to be any additional impacts.

  • hatlem

    hatlem October 17th, 2022 @ 11:32 PM

    Hotstar is the best video-showing app we can watch here. But in this Hotstar app by default, you can not take screenshots on android mobile. Get to know about how to take screenshot in hotstar here.

  • voxede6498

    voxede6498 November 18th, 2022 @ 05:15 AM

    'You can't move the focus to the control because it's invisible,' is something that many developers face when working on an application. And if you thought that this error was a mere mynewsfit technical nuisance, you're in for a shock. This error can cause serious trouble and delays in your project, so it's important that you fix it right away.

  • Jeanreene

    Jeanreene December 1st, 2022 @ 06:17 AM

    JS Error is one of the most common PG JS errors that you would face while developing your website. It's a common error which occurs in the web browser process and not within the Javascript code itself. Thus, this error appears during loading time and whenever there is any issue with your server, network or resources.

  • lyndakirkwood

    lyndakirkwood January 16th, 2023 @ 11:52 PM

    This is a really good article. I think this is one of the best entries I've ever read. Your work is outstanding and motivating. I sincerely appreciate it. Come to geometry dash meltdown if you are finding games.

  • Amity Sherlock

    Amity Sherlock February 22nd, 2023 @ 06:10 PM

    One of the main ways to fix JS issues is: Applying CSS and JS prefixes: In some circumstances, you may have to add CSS and JS prefixes to maintain IE compatibility. slither io

  • Timothy Sykes

    Timothy Sykes March 16th, 2023 @ 07:57 AM

    I also experience this issue pou, which is unpleasant. I require a remedy.

  • Carrie Barnes

    Carrie Barnes March 27th, 2023 @ 11:52 PM

    Wonderful posts! This knowledge is useful, vampire survivors my buddy.

  • Andreaa Ferrason

    Andreaa Ferrason March 28th, 2023 @ 09:39 PM

    To disable script debugging in Internet Explorer, go to "Setting -> Internet Options -> Advanced -> Browsing" letter boxed and uncheck the box. Javascript errors will cause IE to crash, and you can then launch a debugging window.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby on Rails CRM platform for Web 2.0 and beyond

People watching this ticket