Browser focus jumping to the top of the page when clicking to expand an accordion fold.

hailu - February 19, 2009 - 21:01
Project:Panels Accordion
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

This is duplicated by http://drupal.org/node/292860.

Page scrolls to the top when you click to expand an accordion, throwing the user off.

This simple patch adds name anchors just before the href, so that a click on a header to expand will refocus the browser on that div.

AttachmentSize
panels_accordion_anchors.patch1.38 KB

#1

pribeh - February 23, 2009 - 22:06

How would you set it up like it was before so that the browser doesn't move after clicking the header. I really don't see the point of moving the browser around - at least by default - since most users hate losing control of their browser movement.

 
 

Drupal is a registered trademark of Dries Buytaert.