{"action":"opened","issue":{"url":"https://api.github.com/repos/vaadin/framework/issues/9512","repository_url":"https://api.github.com/repos/vaadin/framework","labels_url":"https://api.github.com/repos/vaadin/framework/issues/9512/labels{/name}","comments_url":"https://api.github.com/repos/vaadin/framework/issues/9512/comments","events_url":"https://api.github.com/repos/vaadin/framework/issues/9512/events","html_url":"https://github.com/vaadin/framework/issues/9512","id":234749559,"number":9512,"title":"Grid Multirow select Checkbox gets Invisible in Firefox","user":{"login":"xasz","id":1305196,"avatar_url":"https://avatars3.githubusercontent.com/u/1305196?v=3","gravatar_id":"","url":"https://api.github.com/users/xasz","html_url":"https://github.com/xasz","followers_url":"https://api.github.com/users/xasz/followers","following_url":"https://api.github.com/users/xasz/following{/other_user}","gists_url":"https://api.github.com/users/xasz/gists{/gist_id}","starred_url":"https://api.github.com/users/xasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xasz/subscriptions","organizations_url":"https://api.github.com/users/xasz/orgs","repos_url":"https://api.github.com/users/xasz/repos","events_url":"https://api.github.com/users/xasz/events{/privacy}","received_events_url":"https://api.github.com/users/xasz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-09T07:55:50Z","updated_at":"2017-06-09T07:55:50Z","closed_at":null,"body":"Vaadin Version 8.0.5\r\nTheme: Default Valo\r\n\r\nIf you have two grid and controll the content by gridselection from first to the second grid, the checkbox gets removed if you haven't set any content in it.\r\nOnly happens in Firefox Version 53.X\r\nNot in Chrome or Internet Explorer.\r\n\r\n\r\n`public class MyUI extends UI {\r\n\r\n    @Override\r\n    protected void init(VaadinRequest vaadinRequest) {\r\n        final HorizontalLayout layout = new HorizontalLayout();\r\n        \r\n        HashMap<String, Collection<String>> contents = new HashMap<String, Collection<String>>();\r\n\t\tfor(int i = 0 ; i < 100 ; i ++){\r\n\t\t\tArrayList<String> strings = new ArrayList<String>();\r\n\t        for(int j = 0 ; j < 100 ; j ++){strings.add(\"Something Text \" + j);}\r\n\t        contents.put(\"Category \" + i, strings);\r\n        }\r\n\t\t\r\n\t\tGrid<String> displayGrid = new Grid<String>();\r\n\t\tdisplayGrid.addColumn(source -> source).setCaption(\"Caption\");\r\n\t\tdisplayGrid.setSelectionMode(SelectionMode.MULTI);\r\n\t\t\r\n        Grid<Entry<String,Collection<String>>> chooserGrid = new Grid<Entry<String,Collection<String>>>();\r\n        chooserGrid.addColumn(source -> source.getKey()).setCaption(\"Category\");\r\n        chooserGrid.setSelectionMode(SelectionMode.SINGLE);\r\n        chooserGrid.setItems(contents.entrySet());\r\n        \r\n        chooserGrid.addSelectionListener(event -> {\r\n        \tOptional<Entry<String, Collection<String>>> row = event.getFirstSelectedItem();\r\n        \tif(row.isPresent()){\r\n        \t\tdisplayGrid.setItems(row.get().getValue());\r\n        \t}else{\r\n        \t\tdisplayGrid.setItems(new ArrayList<String>());\r\n        \t}\r\n        });\r\n        \r\n//        Workaround - if you add this line, the problem does not appear \r\n//        displayGrid.setItems(new ArrayList<String>());\r\n        \r\n        layout.addComponent(chooserGrid);\r\n        layout.addComponent(displayGrid);\r\n        \r\n        setContent(layout);\r\n    }\r\n\r\n    @WebServlet(urlPatterns = \"/*\", name = \"MyUIServlet\", asyncSupported = true)\r\n    @VaadinServletConfiguration(ui = MyUI.class, productionMode = false)\r\n    public static class MyUIServlet extends VaadinServlet {\r\n    }\r\n}\r\n![grafik](https://user-images.githubusercontent.com/1305196/26966261-a7f4b182-4cf9-11e7-9412-0f129c09f672.png)\r\n`\r\n"}}
{"actor":{"display_login":"xasz"}}