Skip to content

Releases: RustForWeb/floating-ui

v0.2.0

07 Dec 19:11
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.3...v0.2.0

Upgrade to Leptos v0.7

Node References

Install leptos-node-ref and replace the node references with AnyNodeRef:

- let reference_ref = NodeRef<Div>::new();
- let floating_ref = NodeRef<Div>::new();
- let arrow_ref = NodeRef<Div>::new();
+ use leptos_node_ref::AnyNodeRef;
+ 
+ let reference_ref = AnyNodeRef::new();
+ let floating_ref = AnyNodeRef::new();
+ let arrow_ref = AnyNodeRef::new();

Reference

Remove .into_reference() from use_floating calls:

  use_floating(
-     reference_ref.into_reference(),
+     reference_ref,
      floating_ref,
      UseFloatingOptions::default(),
  )

Middleware

Install send_wrapper and wrap the middleware vector in SendWrapper:

+ use send_wrapper::SendWrapper;

  let middleware: MiddlewareVec = vec![/* ... */];
  
  use_floating(
      reference_ref,
      floating_ref,
      UseFloatingOptions::default()
-          .middleware(middleware.into()),
+          .middleware(SendWrapper::new(middleware).into()),
  )

v0.1.3

03 Nov 18:49
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.2...v0.1.3

v0.1.2

25 Sep 10:36
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.1...v0.1.2

v0.1.1

25 Sep 10:33
3779a72
Compare
Choose a tag to compare

Full Changelog: v0.1.0...v0.1.1

v0.1.0

25 Sep 10:32
04168f7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.0.9...v0.1.0

v0.0.9

05 Jun 08:31
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.8...v0.0.9

v0.0.8

27 Apr 09:32
Compare
Choose a tag to compare

Full Changelog: v0.0.7...v0.0.8

v0.0.7

27 Apr 09:32
Compare
Choose a tag to compare

Full Changelog: v0.0.6...v0.0.7

v0.0.6

27 Apr 09:32
Compare
Choose a tag to compare

Full Changelog: v0.0.5...v0.0.6

v0.0.5

27 Apr 09:32
Compare
Choose a tag to compare

Full Changelog: v0.0.4...v0.0.5