From 197af24a5c3789bc2a01c1c2c8b8b7d220ef219e 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() {