Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#8865 closed defect (fixed)

[regression] AccordionContainer: cannot type into TextBox within AccordionPane

Reported by: dickb Owned by: peller
Priority: high Milestone: 1.3
Component: Dijit - Form Version: 1.3.0b3
Keywords: accordion Cc:
Blocked by: Blocking:

Description (last modified by peller)

My app uses widgets inside accordion panes and it appears not to be possible to type into text-boxes within the pane.

<html>
<head>

<LINK REL="stylesheet" TYPE="text/css" HREF="js/release/dojo/dijit/themes/tundra/tundra.css">  
<LINK REL="stylesheet" TYPE="text/css" HREF="js/release/dojo/dojo/resources/dojo.css">  

<SCRIPT LANGUAGE="JAVASCRIPT" SRC="js/release/dojo/dojo/dojo.js" djConfig="parseOnLoad: true"> 
</SCRIPT>
<script type="text/javascript">
  dojo.require("dojo.parser");
  dojo.require("dijit.layout.AccordionContainer");
  dojo.require("dijit.layout.ContentPane");
  dojo.require("dijit.form.TextBox");
  dojo.require("dijit.form.CheckBox");
</script>
</head>

<body class="tundra">
    <div dojoType="dijit.layout.ContentPane" style=" width: 400px; height: 55px;">
                <input type=text dojoType="dijit.form.TextBox"> </input>
    </div>
    <div dojoType="dijit.layout.AccordionContainer" style=" width: 400px; height: 300px;">
        <div dojoType="dijit.layout.ContentPane" title="Pane 1">
                <input type=text dojoType="dijit.form.TextBox"> </input>
                <input type=checkbox dojoType="dijit.form.CheckBox"> </input>
        </div>
    </div>
</body>
</html>

Change History (6)

comment:1 Changed 5 years ago by dickb

I can type into the text box that's outside the accordion, but not the inner one. Behaviour is in IE8, FF3.0.7, Chrome, Safari 3.2.1, Opera 9.63

comment:2 Changed 5 years ago by doughays

  • Milestone changed from tbd to 1.3
  • Owner changed from anonymous to peller
  • Priority changed from normal to high
  • severity changed from normal to critical
  • Summary changed from Cannot type into TextBox within AccordionPane to [regression]: Cannot type into TextBox within AccordionPane

regressed by [16875]. _onKeyPress in AccorionContainer.js was changed to call stopEvent and this is stopping the default action for the form input widgets that are children.

comment:3 Changed 5 years ago by bill

  • Component changed from General to Dijit
  • Summary changed from [regression]: Cannot type into TextBox within AccordionPane to [regression] AccordionContainer: cannot type into TextBox within AccordionPane

comment:4 Changed 5 years ago by peller

  • Description modified (diff)

comment:5 Changed 5 years ago by peller

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [17003]

comment:6 Changed 3 years ago by bill

  • Component changed from Dijit to Dijit - Form
Note: See TracTickets for help on using tickets.