Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Visual Viewport API #66

Closed
kripod opened this issue Oct 5, 2019 · 0 comments
Closed

Implement Visual Viewport API #66

kripod opened this issue Oct 5, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kripod
Copy link
Owner

kripod commented Oct 5, 2019

Motivation

Sometimes, classic scrollbars and on-screen keyboards shall be excluded when calculating the dimensions of a document.

Details

  • Visual Viewport API specification
  • Add useViewportScrollCoords, useViewportSize and useViewportScale hooks
  • Keep useWindowScrollCoords and useWindowSize hooks, optionally updating their docs to emphasize which elements are included in the results
@kripod kripod added the enhancement New feature or request label Oct 5, 2019
@kripod kripod self-assigned this Oct 5, 2019
@kripod kripod closed this as completed in 0b52d85 Oct 5, 2019
kripod added a commit that referenced this issue Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant