Opened 7 years ago

Closed 6 years ago

Last modified 3 years ago

#2639 closed defect (bug) (worksforme)

Clicking a second FAQ jumps the page away

Reported by: brianhogg's profile brianhogg Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords: has-patch has-screenshots


Best explained in a short video:

Essentially if you have a long-ish FAQ response, then click on the next FAQ item, you're jumped down to the bottom of the page as the previous FAQ item is automatically collapsed.

Perhaps just don't auto collapse any other open items?

Attachments (1)

2639.diff (750 bytes) - added by audrasjb 6 years ago.
remove autocollapsing of siblings elements in faq items

Download all attachments as: .zip

Change History (4)

#2 @audrasjb
6 years ago

  • Keywords has-patch has-screenshots added

Hello @brianhogg ,

In my opinion you are right: autocollapsing siblings items seems to be a bad idea.
Here is a very simple patch. Just removing 3 lines of JS to avoid autocollapsing.

You can see the result using you’re plugin page here on this GIF "screenshot":

Hope it will helps :)


6 years ago

remove autocollapsing of siblings elements in faq items

#3 @tellyworth
6 years ago

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

Appears no longer to be an issue - expanding another FAQ item keeps the new item within the viewport. Tested with current Safari and Chrome.

Note: See TracTickets for help on using tickets.