Share

YUI Library

Tracker: Bugs

5 [#1793511] selecting menu item jumps viewport to top of page - ID: 1908498
Last Update: Comment added ( gpuckett )

I'm using Firefox 2.0.0.12 and observer that clicking an item in a menu
button jumps the viewport to the top of the page:
http://developer.yahoo.com/yui/examples/button/btn_example12.html

In the above linked example, if the viewport is not at the top of the page
when an item is clicked, the viewport jumps to the top of the page.

This makes menu buttons unusable in long forms.

Thanks and best wishes, Jack


Jack Bates ( jablko ) - 2008-03-06 06:23

5

Closed

Fixed

george puckett

Menu

2.5.0

Public


Comments ( 5 )

Date: 2009-01-24 08:11
Sender: gpuckettProject Admin

The YUI project has been migrated from Source Forge to YUILibrary.com.
This ticket has been moved to the tracker on YUILibrary.com that
corresponds to the project it was filed against (YUI2, YUI3, Compressor,
etc.). All tickets not yet closed on Source Forge have been transferred
with their current state intact. The Source Forge instance of all tickets
is being marked as closed to avoid confusion. You can track the
status/progress of this ticket at http://yuilibrary.com/ using the same
ticket ID as it held in Source Forge.


Date: 2008-03-24 16:09
Sender: jablkoAccepting Donations


Thanks, I upgraded to YUI 2.5.1 this morning and confirm that the viewport
does no longer jump to the top of page when a menu item is selected. Much
thanks, Jack


Date: 2008-03-20 05:46
Sender: gpuckettProject Admin


The fix for this issue had been posted today as part of the YUI 2.5.1
release.

The status of this bug has been set to "pending". The bug will
automatically close in two weeks if there is no additional comments posted
to the bug. Therefore, if you integrate the latest sources into your build
and verify the fix is working, no additional action need be taken.

However, if you update to YUI 2.5.1 and you are still seeing a problem,
please do the following

- add a comment to the bug stating the regression failed and include any
details that may be unique to 2.5.1
- attach any updated sample code necessary for us to reproduce the issue

By updating the bug as stated above, the Status will reset to open and we
will re-investigate the issue.




Date: 2008-03-06 19:09
Sender: gpuckettProject Admin


This issue has been resolved. The fix will be included in the next YUI
update. A comment will be added to this bug to notify you when the release
is posted and the fix is available for your use.



Date: 2008-03-06 18:58
Sender: gpuckettProject Admin


This bug report is being forwarded to the author or current owner of the
affected component for additional investigation and response.


Attached File

No Files Currently Attached

Changes ( 11 )

Field Old Value Date By
allow_comments 1 2009-01-24 08:11 gpuckett
assigned_to kloots 2009-01-24 08:11 gpuckett
status_id Open 2008-03-24 16:40 kloots
close_date - 2008-03-24 16:40 kloots
status_id Pending 2008-03-24 16:09 jablko
close_date 2008-03-20 05:46 2008-03-24 16:09 jablko
close_date - 2008-03-20 05:46 gpuckett
status_id Open 2008-03-20 05:46 gpuckett
resolution_id None 2008-03-06 19:09 gpuckett
summary selecting menu item jumps viewport to top of page 2008-03-06 18:58 gpuckett
assigned_to nobody 2008-03-06 18:58 gpuckett