Page MenuHomePhabricator

SimpleSearch: Regression: Cannot drop text in the search box
Closed, ResolvedPublic

Description

When I drag some text and drop it in the search box, it becomes gray and stays around the word 'Search'. If I try to remove the word 'Search' and click on the box, the text I dropped just now disappears.


Version: unspecified
Severity: minor

Details

Reference
bz24498

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:03 PM
bzimport set Reference to bz24498.

Please specify which browser (+version) you are using.

(In reply to comment #1)

Please specify which browser (+version) you are using.

Iceweasel 3.5.8

alexsm333 wrote:

The same thing happens in FireFox 3.6.7 and IE8: label "search" prevents text drag-and-dropping. The workaround is to remove the label by inserting e.g. one space into the search field. Google Chrome works ok; Opera 10.60 doesn't seem to have this feature at all.

This may be due to an attempt to fix bug 24096.

If only all browsers supported HTML5 yet, then this would be so much easier :D
http://dev.w3.org/html5/spec/Overview.html#the-placeholder-attribute

amiller1 wrote:

I think we had code in place to deal with drag/drop before...I'll see what I can come up with.

(In reply to comment #5)

If only all browsers supported HTML5 yet, then this would be so much easier :D
http://dev.w3.org/html5/spec/Overview.html#the-placeholder-attribute

We use this if available, which is probably why this bug doesn't occur on Chrome.

  • Bug 24723 has been marked as a duplicate of this bug. ***

(In reply to comment #8)

  • Bug 24723 has been marked as a duplicate of this bug. ***

There is some useful information in comment #1 of that bug.

  • This bug has been marked as a duplicate of bug 26135 ***