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

rich:extendedDataTable scrolling broken on OS-X

    Details

    • Steps to Reproduce:
      Hide

      In OS-X Settings->General (under Personal): set Show scroll bars: 'When scrolling'

      Now visit any page with a rich:extendedDataTable (e.g. the showcase). Scrolling is not possible.

      Show
      In OS-X Settings->General (under Personal): set Show scroll bars: 'When scrolling' Now visit any page with a rich:extendedDataTable (e.g. the showcase). Scrolling is not possible.

      Description

      In OS-X scrolling can be done by using two fingers on the touchpad. However this does not work for horizontal scrolling on the rich:extendedDataTable.

      You can scroll vertically but not horizontally.
      The horizontal scrolling with two fingers only works when the mouse is over the actual scrollbar!
      I had a look at the actual html code and it looks like the header, table content and scroller are generated as independent tables. The div that contains the table content (class rf-edt-cnt) has overflow:hidden; set. If you change that to overflow: auto you get the two finger scrolling over the content of the table, however the header and original scrollbar isn't scrolling. Would it be possible to hide the original scroller and synchronize the header (and footer?) when scrolling the content?

      In OS-X you have the option to only show the scrollbar when you scroll. This is quite nice as it gives you a bit more space. However in this case you cannot scroll with the extendedDataTable at all! The scrollbar of the extendedDataTable is hidden in this case and the height/width of the div containing the scrollbar is 0, so you can't navigate over it to enable the scrolling. That basically gives you no way of scrolling!

      See https://community.jboss.org/thread/231502

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                ibenjes Immo Benjes
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: