Skip to content

Return Int for scrollWidth and scrollHeight - #65

Merged
thomashoneyman merged 1 commit into
masterfrom
fix-scroll-dimensions
Oct 10, 2026
Merged

thomashoneyman merged 1 commit into
masterfrom
fix-scroll-dimensions

Conversation

@thomashoneyman

Copy link
Copy Markdown
Contributor

Changes scrollWidth and scrollHeight to return Int, matching their CSSOM View IDL types. The existing FFI already returns the DOM integer values.

Fixes #55. This is a breaking type change; the Spago migration and 7.0.0 release configuration will follow in a separate PR.

@thomashoneyman
thomashoneyman merged commit d5659e7 into master Oct 10, 2026
1 check failed
@thomashoneyman
thomashoneyman deleted the fix-scroll-dimensions branch October 10, 2026 15:52
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.

scrollWidth and scrollHeight are Ints not Numbers

1 participant