-
Notifications
You must be signed in to change notification settings - Fork 63
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
fix getBoundingClientRect error in ssr applications #76
Conversation
There's some conflict between this pr and a recently merged one. If you update it I'd be happy to test and merge this one too. |
Closing this due to lack of progress. Feel free to open a new one if interest resurfaces. |
You have not been able to fix a conflict in 8 lines of code? |
I am not following the repo currently. that's why i couldn't reply to the comments. @DDurakISH thanks for bringing it to my attention by tagging me i will look into the conflicts and create a new pr. |
@DDurakISH @wittlock no new pr is required as the current code in master branch will not result in this issue. |
@urohith17 thank you very much for your investigation and response! |
Note: the issue still exists in the current latest version 2.1.0. So the next release should fix it. |
I'll try and send out a release this weekend from master. It'll probably be
a major version release as it's a big refactoring and could break. I'll
post here when it's out.
…On Fri, Oct 27, 2023, 10:12 urohith173 ***@***.***> wrote:
Note: the issue still exists in the current latest version 2.1.0. So the
next release should fix it.
—
Reply to this email directly, view it on GitHub
<#76 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKGGNQKYEZ75ACYPOLSA6TYBNUFBAVCNFSM4UGN7CWKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZYGI2DQOJQGIZA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Alright. Weekend got away from me, but now there's a 3.0.0 up at npm. I hope this works as expected and sorts your ssr related issues. Let me know if there's anything wonky with it. |
Working fine 👍. |
I think you can close the issue #63 . |
Added condition to skip the dom api call getBoundingClientRect() on server. This change fixes #63