Skip to content

Conversation

@acheul
Copy link
Contributor

@acheul acheul commented Dec 31, 2025

  1. This PR adds [set_pointer_capture()] and [release_pointer_capture()] methods to trait [RenderedElementBacking], making them available through [MountedData] across platforms without using web-sys. I'm not sure if this aligns with Dioxus' current development roadmap, but believe it could be very helpful for users to implement pointer-driven drag-and-drop functionality. (such as resize panels)

  2. While modifying "dioxus-interpreter-js"'s "native.ts" for above changes, I found a bug in [set_focus()] implements for desktop and liveview environments: [setFocus()] in "native.ts" must return boolean type explicitly not to make panic in [set_focus()]. This PR fixes that too.

@acheul acheul requested a review from a team as a code owner December 31, 2025 12:17
@ealmloff ealmloff added breaking This is a breaking change html Related to the html crate labels Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking This is a breaking change html Related to the html crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants