This bug report comes from the work I've been doing here: #1493324: Inline form errors for accessibility and UX

Steps to reproduce

  1. Visit a page with at least 2 anchor links on it (ex. <a href="#achor">) that opens in the overlay. The attached FOO module creates a page at admin/foo for you.
  2. Use firebug (or whatever) to make a visible change to the markup on the page (just so you can see that it goes away later)
  3. Click one of the anchor links and note that all is well
  4. Now click another link (or the same link again)
  5. Notice that the page refreshes (as proof, the change you made with firebug is gone).

This is particularly bad on pages that have forms as any data the user has entered is now gone.

Expected behavior

When I click on an anchor link - no matter how many of them and no matter how many times I click - the page should simply move within the browser view and should not refresh.

CommentFileSizeAuthor
foo.zip1.04 KBbleen

Comments

bleen’s picture

Issue summary: View changes

Revamped issue summary.

bleen’s picture

Issue summary: View changes

Revamped issue summary.

catch’s picture

Issue tags: +Needs backport to D7

Tagging. Is this really different from #655388: Many ways to lose data on form input in the overlay?

yashadev’s picture

yashadev’s picture

Status: Active » Closed (duplicate)
David_Rothstein’s picture

Status: Closed (duplicate) » Active

I don't think this is a duplicate, because the point of this issue is that clicking on an anchor link shouldn't trigger a page request in the first place. (If there's no page refresh, then there won't be any possibility to lose data, regardless of whatever is going on in that other issue.)

I do wonder if this is related to (or maybe even a duplicate of) #1129578: Overlay doesn't respect internal anchor links, though.

catch’s picture

Status: Active » Closed (duplicate)

hmm I'm going to mark it as duplicate of #1129578: Overlay doesn't respect internal anchor links and slightly broaden the scope of that.

catch’s picture

Issue summary: View changes

Revamped issue summary.