Skip to content

Feat: add RSX attributes for MatchParentSize, WindowDrag, PressFeedback (FR-10) - #176

Merged
b-re-w merged 3 commits into
developfrom
feat/modifiers-006
Nov 7, 2026
Merged

b-re-w merged 3 commits into
developfrom
feat/modifiers-006

Conversation

@b-re-w

@b-re-w b-re-w commented Nov 7, 2026

Copy link
Copy Markdown
Member

Closes #166

Adds RSX attributes and widget component props for the three compose-rust 0.0.6 modifiers (MatchParentSize, WindowDrag, and PressFeedback) and removes them from MODIFIERS_WITHOUT_AN_RSX_ATTRIBUTE in rsx_surface.rs.

Changes

  • docs/SPEC.md: documents match_parent_size, window_drag, and press_feedback under FR-10.
  • dioxus-compose/src/lib.rs and dioxus-compose/src/renderer.rs: adds match_parent_size (slot 22), window_drag (slot 23, preserving both true and false), and press_feedback (slot 24, accepting (f32, f32) or Modifier::PressFeedback).
  • dioxus-compose/src/widgets.rs: forwards match_parent_size, window_drag, and press_feedback on widget components.
  • dioxus-compose/tests/rsx_surface.rs and dioxus-compose/tests/modifier_attributes.rs: verifies every schema modifier is reachable and tests wire mutations for slots 22, 23, and 24.

@b-re-w
b-re-w merged commit e993cb9 into develop Nov 7, 2026
7 of 8 checks passed
@b-re-w
b-re-w deleted the feat/modifiers-006 branch November 7, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant