Skip to main content

Search and Top Navigation

#3140 closed bug (wontfix)

Opened July 29, 2008 12:38AM UTC

Closed July 29, 2008 09:22AM UTC

"select" objects doesn't work in Safari / Konqueror while inside a draggable div

Reported by: masobrinho@abril.com.br Owned by: paul
Priority: major Milestone:
Component: ui.draggable Version: 1.5.2
Keywords: konqueror safari select draggable Cc: TeamAbril.com@abril.com.br
Blocked by: Blocking:
Description

After setting a <div> to be draggable, all <select>'s inside it stop working, either in Safari 3.1 and Konqueror 3.5.

Simple way to reproduce the problem:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<script language="JavaScript" src="js/jquery-1.2.6.js"></script>
	<script language="JavaScript" src="js/jquery-ui-personalized-1.5.2.js"></script>
</head>
<body>
	<br/><br/><br/>

	<div id="merda">
		lalalalala
		<select name="teste">
			<option>This select isnt clickable</option>
			<option>in safari 3</option>
			<option>and konqueror :(</option>
		</select>
	</div>

	<br/><br/><br/>

	<div id="beleza">
		lelele
		<select name="teste">
			<option>This select</option>
			<option>works perfectly</option>
			<option>everywhere</option>
		</select>
	</div>

	<br/><br/><br/><br/><br/>

	<script language="JavaScript">
		$("#merda").draggable();
	</script>


</body>
</html>

Thanks!

Marcos

Attachments (0)
Change History (1)

Changed July 29, 2008 09:22AM UTC by paul comment:1

resolution: → wontfix
status: newclosed

There's no real fix, but one option is setting the option "cancel" in draggables to "option", so you can't start dragging on the select box (and therefore, it will open correctly).