flow-components
flow-components copied to clipboard
Java counterpart of Vaadin Web Components
### Description Setting MenuItem.setCheckable(true) and MenuItem.addClickShortcut() do not work together. What you get is the shortcut firing the click lambda, but the state not toggling, so the lambda always thinks...
### Description AccordionPanel's setOpened(true) does not open the panel if he visibility was set to false before. ### Expected outcome setOpened(true) should open the panel irrespective of the fact whether...
### Description `addViewMoveEndEventListener` and `addClickEventListener` shouldn't contain word `Event` to be aligned with existing listeners (i.e. `ClickNotifier.addClickListener` available in other components) We can consider introducing aliases and deprecate existing listeners.
### Description I use the [`grid.setComparator()` method](https://github.com/vaadin/flow-components/blob/b46c995ff542d17aaaaf01b60275ad7f21514e44/vaadin-grid-flow-parent/vaadin-grid-flow/src/main/java/com/vaadin/flow/component/grid/Grid.java#L712-L717) to supply comparator to the grid. My comparator has custom reverse comparator - I do NOT want the default one. Vaadin ignores my...
### Description Hidden column should not slow down grid ### Expected outcome Not run code that does nothing ### Minimal reproducible example ```java grid.addColumn(this::getRemoteStatus).setHeader("Remote status").setVisible(false); ```` ### Steps to reproduce...
### Description When I create an `UploadHandler` with a `TransferProgressListener`, the `onStart` and `onProgress` methods are only called when the file has finished uploading to the server. ### Expected outcome...
### Description This code: ```java ListBox listBox = new ListBox(); listBox.setTooltipText("Tooltip for listbox"); listBox.setItems("Most recent first", "Rating: high to low", "Rating: low to high"); ``` doesn't create a tooltip. ###...
### Describe your motivation We have test cases, where we loop through all cells of a row and check if they hold a certain value. If the grid is wide...
### Description When row details are opened programmatically, `Grid` [clears items from the `detailsVisible` set](https://github.com/vaadin/flow-components/blob/8392aa5521a0f4276ad6890e92327c34f187d8a9/vaadin-grid-flow-parent/vaadin-grid-flow/src/main/java/com/vaadin/flow/component/grid/Grid.java#L1261) on scroll, effectively closing the row details: https://user-images.githubusercontent.com/1222264/217564279-2c1ab071-830b-403c-8f79-ae74734fcbc9.mp4 When row details are opened by clicking...
### Describe your motivation Right now DatePicker and TimePicker support setClearButtonVisible. But DateTimePicker does not. This means inconsistent behaviour. ### Describe the solution you'd like Add the setClearButtonVisible to DateTimePicker...