Ticket #3140 (closed bug: wontfix)

Opened 5 years ago

Last modified 5 years ago

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

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

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

Change History

comment:1 Changed 5 years ago by paul

  • Status changed from new to closed
  • Resolution set to wontfix

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).

Note: See TracTickets for help on using tickets.