Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Scrollbar in IE11 and Edge

    Hi,

    I use version v12.0p_2019-07-22
    I have a problem with ListGrid scrollbar.
    If:
    - I push down the mouse left button on the scrollbar
    - go left and right (the list grid scroll)
    - go outside of the listgrid (on right or bottom)
    - release the button (outside of the listgrid)
    then
    - when i came back above the Listgrid the scroll is still active

    This doesn't happen in Chrome and Firefox.

    Code:
        public static ListGridRecord createRecord(String name, String surname) {
            ListGridRecord record = new ListGridRecord();
            record.setAttribute("Name", name);
            record.setAttribute("Surname", surname);
            return record;
        }
    
        public static ListGridRecord[] getRecords() {
            return new ListGridRecord[] {
                    createRecord("Name1", "Surname1"),
                    createRecord("Name2", "Surname2"),
                    createRecord("Name3", "Surname3")
            };
        }
    
        @Override
        public void onModuleLoad() {
            final ListGrid grid = new ListGrid();
    
            grid.setWidth(500);
            grid.setHeight(300);
            grid.setData(getRecords());
    
            ListGridField nameField = new ListGridField("Name", "Name", 50);
            ListGridField surnameField = new ListGridField("Surname", "Surname");
    
            grid.setFields(nameField, surnameField);
    
            RootPanel.get().add(grid);
        }


    You have to expand column "Name" for reproduce the problem.

    Thanks for your help.

    Mike.
    Last edited by mike7778; 25 Jul 2019, 06:58. Reason: add version v12.0p_2019-07-22

    #2
    Hi mike7778,

    I tried out of interest with a online showcase sample (v12.0p_2019-07-22). It happens for me in Edge/Win10. I can't reproduce in IE11/Win10. I assume this is an browser issue.

    Best regards
    Blama

    Comment

    Working...
    X