Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#2955 closed bug (worksforme)

Accordion Bug, Textareas Scrollbar

Reported by: cr@… Owned by: Jörn Zaefferer
Priority: major Milestone: 1.7
Component: ui.accordion Version: 1.5rc1
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by Jörn Zaefferer)

Hi!

I found a bug using accordion. If I create a list and in an item i've a textarea and a large text in the textarea. The first time everything is ok, but if I click on an other element and after that back to the item with the textarea, the scrollbar of the textarea is gone.

Browser: Firefox 2.0.0.14 OS: Windows XP, SP2

Testcase:

<html>
<head>
<title>bug accordion</titl>
<style type="text/css">
.list a {
	cursor:pointer;
	display:block;
	padding-left:5px;
	padding-top:3px;
	padding-bottom:3px;
	margin-top: 0;
	text-decoration: none;
	font-weight: bold;
	color: black;
	border-top: 1px solid #FFFFFF;
	border-bottom: 1px solid #999;

	background-color: #e8f5f7;
}
.list a:hover {
	background-color: #fff1d0;
}
.list a.selected {
	background-color: #fff1d0;
}

</style>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="http://dev.jquery.com/view/trunk/ui/ui.core.js"></script>
<script type="text/javascript" src="http://dev.jquery.com/view/trunk/ui/ui.accordion.js"></script>
<script>
$(document).ready(function(){
	//$("#example").accordion();
	$("#theList").accordion({
		autoHeight: false
	});
});
</script>
</head>
<body>
<div id="theList" class="list">
<a>English</a>
<textarea name="eng" style="width:300px;" rows="5">
ENGLISH: Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
</textarea>
<a>German</a>
<textarea name="ger" style="width:300px;" rows="5">
GERMAN: Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
</textarea>
<a>French</a>
<textarea name="fre" style="width:300px;" rows="5">
FRENCH: Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
</textarea>
</div>
</body>
</html>

Change History (8)

comment:1 Changed 11 years ago by rauchi

the link: http://www.bitmovin.net/bugAccordion.html

the same bug with: safari version 3.1 (525.13) and opera 9.27

IE7 shows nothing, ... don't know why

comment:2 Changed 11 years ago by rdworth

Milestone: 1.51.5.2

comment:3 Changed 11 years ago by paul

Milestone: 1.5.21.6b

comment:4 Changed 11 years ago by Cloudream

Milestone: 1.6b1.6
Owner: changed from joern.zaefferer to paul
Priority: majorcritical
Status: newassigned

reappear in FF3

comment:5 Changed 11 years ago by Cloudream

Priority: criticalmajor

comment:6 Changed 11 years ago by paul

Owner: changed from paul to joern

comment:7 Changed 11 years ago by Jörn Zaefferer

Description: modified (diff)
Owner: changed from joern to joern.zaefferer

comment:8 Changed 11 years ago by Jörn Zaefferer

Resolution: worksforme
Status: assignedclosed

Tested with latest revision, works for me.

Note: See TracTickets for help on using tickets.