Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-14236

photoalbum: using scrollIntoView to an element in bottom of the page breaks the layout

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.5.13
    • Fix Version/s: None
    • Component/s: examples
    • Labels:
    • Steps to Reproduce:
      Hide
      1. deploy Photoalbum and open http://localhost:8080/richfaces-photoalbum/index.jsf
      2. run in browser console to scroll to footer panel: $("[id='overForm:footerPanel_body']").get(0).scrollIntoView()
      3. the page is scrolled down below the content and cannot scroll back (see attached image – this is how the whole content of the page will look like [screenshot is taken from other view, but the problem is the same])
      Show
      deploy Photoalbum and open http://localhost:8080/richfaces-photoalbum/index.jsf run in browser console to scroll to footer panel: $(" [id='overForm:footerPanel_body'] ").get(0).scrollIntoView() the page is scrolled down below the content and cannot scroll back (see attached image – this is how the whole content of the page will look like [screenshot is taken from other view, but the problem is the same] )

      Description

      It happens only in functional tests using WebDriver and normal user cannot observe such problem. See steps to reproduce.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jstefek Jiří Štefek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: