Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1561

improve the user experience of javascript-based links

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.2
    • Component/s: Framework
    • Labels:
      None

      Description

      LinkSubmits are currently rendered as <a href="#" id="submitLink_5">link</a>.
      If you click on such a link the following happens:

      • the browser window is scrolled to the top
      • the attached javascript onclick event handler is executed

      It would be much better if this "jump to the top" would not happen. It is easy to achieve by referencing an undefined anchor for example

      <a href="#TAPESTRY_UNDEFD" id="submitLink_5">link</a>

      Maybe a shorter name would be ok as well
      What do you think?

        Attachments

          Activity

            People

            • Assignee:
              jkuhnert Jesse Kuhnert
              Reporter:
              snorbi Norbert Sándor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: