From 77ae946b991cd35d1cd59e6cf0c9d8d6abbd5742 Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Wed, 21 Jul 2021 12:05:23 -0300 Subject: [PATCH] fix: fix position not set in SlideChangeEvent constructor Close #15 --- .../java/com/flowingcode/vaadin/addons/carousel/Carousel.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java b/src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java index 03b3b0d..b174d29 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java +++ b/src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java @@ -187,6 +187,7 @@ public static class SlideChangeEvent extends ComponentEvent { public SlideChangeEvent( Carousel source, boolean fromClient, @EventData("event.detail.value") String position) { super(source, true); + this.position = position; } public String getPosition() {