Closed Bug 435137 Opened 16 years ago Closed 16 years ago

onchange event not fired when inputting with drag and drop

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 128066

People

(Reporter: maltalef, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5

when dragging text to an input field, the onchange event (and maybe others) is not triggered.

Reproducible: Always

Steps to Reproduce:
1. Look for an input text field with an onchange attribute or event listener.
2. Select some text in the page
3. Drag it and drop it on the field.
Actual Results:  
nothing happens

Expected Results:  
something happens

also tested on 3.0rc1 and 2.0.0.14
Product: Firefox → Toolkit
Component: Form Manager → Drag and Drop
Product: Toolkit → Core
QA Contact: form.manager → drag-drop
Attached file Test case
The problem is still present under firefox 3.0.1

This is a hassle for developpers who are using libraries like Echo2 which rely on textfields change detection to send values to the server, as the users do sometimes drag and drop text across fields.

Try the provided test case.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: