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

check if element has a size (#50) #51

Closed
wants to merge 1 commit into from

Conversation

skovhus
Copy link

@skovhus skovhus commented Oct 13, 2016

Fixes #50... Sorry that I didn't add any tests for this. Could be nice with some unit tests.

Maybe look at this with whitespace disabled: https://github.com/joshwnj/react-visibility-sensor/pull/51/files?w=0

@eek
Copy link
Collaborator

eek commented Nov 25, 2016

Can you remove the indentation changes?

@joshwnj
Copy link
Owner

joshwnj commented Dec 15, 2016

Hi @skovhus , just wanted to touch base here. I'm keen to give your PR a proper review and merge but if you could first rebase & remove the whitespace changes it would really help. Thanks!

@skovhus
Copy link
Author

skovhus commented Dec 15, 2016

I cannot release remove white space as the whole block is indented. Would be really great to refactor that giant function.

But I will rebase. ; )

@joshwnj
Copy link
Owner

joshwnj commented Dec 15, 2016

Ah ok - yeah we do need to split up this giant function at some point :) I'm thinking of putting together a big major-version roadmap for early 2017, and this would definitely be on the cards.

I cannot release remove white space as the whole block is indented.

That's cool, but in that case could you please point out specifically what things you are changing? Just a bit difficult to see in the current diff :)

Thanks

@skovhus
Copy link
Author

skovhus commented Dec 15, 2016

The diff without whitespace (?w=0) makes it fairly clear I think https://github.com/joshwnj/react-visibility-sensor/pull/51/files?w=0

But let me do an updated PR : )

@joshwnj
Copy link
Owner

joshwnj commented Dec 15, 2016

Oh that is heaps better, thanks :) I have to remember that ?w=0 trick 😆

@skovhus
Copy link
Author

skovhus commented Dec 15, 2016

I've updated the PR by rebasing with master, but I would like one of you to manually test this change.

More unit tests are required here in order to make a change like this safe.

@igorz-
Copy link

igorz- commented Mar 3, 2018

Hi! Could someone please tell when this will be merged? Or there are some better solution?

@joshwnj
Copy link
Owner

joshwnj commented Aug 31, 2018

superceded by #114

@joshwnj joshwnj closed this Aug 31, 2018
@joshwnj
Copy link
Owner

joshwnj commented Aug 31, 2018

Hi @igorz- & @skovhus, can you please check if the latest version is working for you? Thanks!

@skovhus skovhus deleted the fix-hidden-elements branch August 31, 2018 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants