Overlay: add shared viewport-aware positioning core #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent tracker: #1
Objective: create the shared positioning foundation used by Tooltip and Popover without introducing Bootstrap JavaScript or Popper runtime dependency.
Scope:
Acceptance criteria:
Dependencies: parity spec issue.
Signed-by: mik-tf mik-tf@noreply.invalid
Implemented in
dd380ea.Changes:
crates/dioxus-bootstrap/src/overlay.rswith pure shared overlay positioning types and logic.OverlayPlacement,OverlayRect,OverlayOffset,OverlayPosition, andcalculate_overlay_position.Validation:
cargo fmt --all -- --checkpassed.cargo test -p dioxus-bootstrap-csspassed, including 7 overlay tests.cargo check --target wasm32-unknown-unknown -p dioxus-bootstrap-csspassed.cargo clippy --target wasm32-unknown-unknown -p dioxus-bootstrap-css -- -D warningspassed.npm run test:migratepassed.npm run lint:bootstrappassed.Signed-by: mik-tf mik-tf@noreply.invalid