diff options
author | Tatu Lund <tatu@vaadin.com> | 2020-02-24 12:51:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 12:51:20 +0200 |
commit | 684c23af96e06dcd0c735f47b0f7e5ae1c555fdd (patch) | |
tree | 665020453afcdd5fae1b8934b194560acd7e5e66 /client | |
parent | f0769be11c8d7d2bdb25b9769602faf826fa2fb8 (diff) | |
download | vaadin-framework-684c23af96e06dcd0c735f47b0f7e5ae1c555fdd.tar.gz vaadin-framework-684c23af96e06dcd0c735f47b0f7e5ae1c555fdd.zip |
Removing code causing the trouble (#11898)
* Removing code causing the trouble
Removing code that was apparently not needed in previous fix and caused regression
Fixes: https://github.com/vaadin/framework/issues/11895
* Added feature to test UI
* Added test case
* Adding missing import
* Fixing test UI
* Enable DateField
Diffstat (limited to 'client')
-rw-r--r-- | client/src/main/java/com/vaadin/client/ui/VAbstractCalendarPanel.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/VAbstractCalendarPanel.java b/client/src/main/java/com/vaadin/client/ui/VAbstractCalendarPanel.java index 765df8867d..ff60fe154d 100644 --- a/client/src/main/java/com/vaadin/client/ui/VAbstractCalendarPanel.java +++ b/client/src/main/java/com/vaadin/client/ui/VAbstractCalendarPanel.java @@ -975,10 +975,6 @@ public abstract class VAbstractCalendarPanel<R extends Enum<R>> public void renderCalendar(boolean updateDate) { if (parent instanceof VAbstractPopupCalendar && !((VAbstractPopupCalendar) parent).popup.isShowing()) { - if (getDate() == null) { - // no date set, cannot pre-render yet - return; - } // a popup that isn't open cannot possibly need a focus change event updateDate = false; } |