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

[Bug] left should not be y #12

Open
Stupidism opened this issue Jul 19, 2019 · 0 comments · May be fixed by #37
Open

[Bug] left should not be y #12

Stupidism opened this issue Jul 19, 2019 · 0 comments · May be fixed by #37

Comments

@Stupidism
Copy link

https://github.com/Swizec/useDimensions/blob/master/src/index.ts#L11

daneroo added a commit to daneroo/useDimensions that referenced this issue Aug 10, 2020
Fixes Swizec#12 
I am using this as a workaround for now:
```
  const [ref, { x: left, y: top}] = useDimensions()
```
@daneroo daneroo linked a pull request Aug 10, 2020 that will close this issue
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 a pull request may close this issue.

1 participant