Login Register

focus

tooltip and focus on button after closing dialog

Hi,

quick newbee question: How can I come around this behavior?

When I have connected a tooltip to a button and I move over with the mouse to the button I can see the tooltip. When I press the button to open a dialog and I close the dialog this button gets the focus again. And then it shows the tooltip forever because it holds the focus until I click on anything else. How can I release the focus on return of a dialog on that button automatically or how can I disable the tooltip on focus?

Thanks
Manfred

Serious IE7 bug in test_edit_dijit.html: can't edit ComboBox cells for new rows

I'm trying to use the ComboBox for use with auto-completion in a grid and hit this problem in IE. Luckily, I could reproduce the problem in your test code.

1) run test_edit_dijit.html in an IE 7 browser
2) select "Toggle singleClickEdit"
3) click in the priority cell (it works fine, you can change it values and when you remove all test, possible values show)
4) select "Add Row"
5) click in the priority cell, can't set focus in this cell or in any other cell in the Priority column

IE grid focus problem

When I use grid in editing mode and change row number with dblClick or with tab button cell always loose focus with IE. Focus is placed somewhere on the top of the page. There is no problem with FF.
Still too much people use IE and I think that should be working with it as well.

I searched over the forum and didn't find any fix for it. Does it exists? And I tried with many different nightly builds.

Appreciate your help,
David

Editor replaceValue forces focus

I'm trying to use dijit.byId('id').replaceValue(newValue) to programmatically change the value of a dijit Editor; it works fine except that replaceValue sets the focus to the editor it is changing.

Overriding focused button styles

I'm trying to remove the dark dotted borders that the browser applies to a button widget. I had success in Firefox with this style:

.dj_gecko .dijitButton button:focus::-moz-focus-inner { border-color: transparent; }

Is there a way of overriding the same style in IE7?

ValidationTextBox focus, validation and the warning tip

Hello:

According to the docs, "ValidationTextbox extends [dijit.form.Textbox] by validating the input when the box loses focus." (My emphasis)

However, the warning icon and tooltip appear whenever the input isn't correct (not when focus is lost) in my application, as well as on the demo page.

So, for example, here's some code:

var crn = new dijit.form.ValidationTextBox({name: "crn_name_" + fieldCount, id: "crn_id_" + fieldCount, regExp: "\\d{5}", invalidMessage: "Please enter a CRN.", maxLength: "5", trim: "true", style: "width:5em;"}, spanNode);

focus.js: isCollapsed bug?

The following code is throwing an error in Firefox when I open a dialog. The dialog contains standard form elements, not Dojo widgets (I am porting only a piece at a time). In my case, the selection returned for _window.getSelection() is undefined. There is no check for this, so an error is generated. I could try to catch the error, but because this is so deep I figured it should be handled better internally. I have not yet tried to avoid the problem by putting focus on the first field, but it still seems to me this should be fixed anyways.

Thanks.

Syndicate content