Vaadin Flow Components V24.9.18
Vaadin Flow Components 24.9.18
This is a release of the Java integration for Vaadin Components to be used from the Java server side with Vaadin Flow.
Changes in Flow Components from 24.9.17
Changes in All Components
Changes in vaadin-accordion-flow
- Breaking Changes:
-
⧉ Prevent initial OpenedChangeEvent, set isFromClient correctly (#9267). PR:9363
This PR cherry-picks changes from the original PR #9267 to branch 24.9. --- >
Accordionhad two issues with itsOpenedChangeEvent: > > 1. The event fired on initial attach, even though no user interaction occurred. > 2.isFromClient()always returnedtrue, including for server-side changes. > > Both broke listeners that branch onisFromClient(). > >java > Accordion accordion = new Accordion(); > accordion.add("1", new Span("Panel 1")); > accordion.addOpenedChangeListener(e -> { > if (e.isFromClient()) > Notification.show("Client opened accordion panel"); > }); >> > The PR replaces the@DomEvent("opened-changed")listener with a property change listener that fires theOpenedChangeEventwith the correctisFromClient()value, and initializes theopenedproperty properly to prevent the unwanted initial event. > > Fixes #2301 > > 🤖 Generated with Claude Code
-