Re: Click event doesn't fire for select, radio and checkbox
Neil <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.editor |
|---|---|
| Message-ID | <[email protected]> |
Laurent Jouanneau wrote: > Hello, > > [email protected] wrote: > >> These form elements don't generate click and keypress event in >> editor. It looks like the behavior is related to "-moz-user-input: >> none" rule in EditorOverride.css. If I remove this line, the events >> will generate fine. However, select will show the dropdown once >> clicked and radio/checkbox will show their state, which is not >> desired for editor. My question is how to prevent the dropdown/state >> from showing OR how to keep the rule intact and still receive click >> and keypress events? > > Which form elements ? which checkbox/radio/select do you talk about ? > in an edited document ? If yes, I don't understand why do you want to > receive events from elements which are inside an edited document... I don't know about keypress events but there's a long-standing bug that you can't properly edit form fields because the editor doesn't get any click events either. -- Warning: May contain traces of nuts.