Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3283632
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:03:50+00:00 2026-05-17T20:03:50+00:00

In my web app, I use Ctrl + Arrow keys to navigate from cell

  • 0

In my web app, I use Ctrl + Arrow keys to navigate from cell to cell in a table.

All cells contain a visible <span>, and a hidden <input> element — their values are kept in sync.

When a cell is activated, the <span> is hidden, while the input is shown.

Everything works just fine in Firefox, IE, Opera, etc. Yet, when I load up Chrome, using Ctrl+Left or Ctrl+Right crashes the page (I’m seeing the “Aw Snap” page). Odd thing is, Ctrl+Up and Ctrl+Down work.

I’ve identified that the following code is (directly or indirectly responsible for the crashes):

/**
 * Deactivates a cell, hiding its input field, and showing its span field
 */
View.prototype.deactivateCell = function (cell){
 //Show the span, hide the input
 var label = cell.descendants()[0];
 var input = cell.descendants()[1];
 if(label){
  label.show();
 }
 if(input){
  //THIS NEXT LINE IN PARTICULAR CAUSES THE CRASH
  //I've also tried input.style.display = "none"; - same result
  input.hide();
 }
}

Odd thing is, this code is called by Ctrl+Up/Down, as well as Ctrl+Left/Right – yet it only crashes on Left/Right — even with identical cell values!

All of these cells have two, and only two, descendants… And the crash has nothing to do with the source cells, or the destination cells — it’s possible to move into any cell from above, but not from the left.

What’s even stranger; adding an alert(1); at the end of the deactivateCell(cell) method prevents the crash. Putting it at the start of the method has no effect (Other then displaying the alert dialogue, before the crash)

I’ve tried isolating the relevant HTML + this method in a test file – I could not reproduce the crash.

Has anyone encountered this? Should I write it off as a browser bug? Does anyone know how I might debug this, or try to fix it? I haven’t the foggiest impression how my Javascript can cause the browser to caput, when so many other websites are fine.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T20:03:51+00:00Added an answer on May 17, 2026 at 8:03 pm

    It turns out this is a bug with Webkit that was already filed and fixed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my web app I use several asmx (Web Services) from the same provider,
In our web-app we use PHP5.2.6 + PDO to connect to a SQL Server
I have written a web app in PHP which makes use of Ajax requests
I have a web app that only registered users can use, therefore I should
In my web app, I use the onkeydown event to capture key strokes. For
I want to use modal pop-up windows in our web app in Ruby on
I'm refurbishing a simple web-app that our field techs use. One of my goals
I'm looking for the best URL schema to use for a web app that
I am developing a web-app and use maven for dependency management (duh). Some of
For integration tests of my Rails web app I use Steak (something like Cucumber).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.